新购修改
This commit is contained in:
parent
22a890a385
commit
82bdb7becd
|
|
@ -264,7 +264,6 @@
|
||||||
<img src="../../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
<img src="../../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
||||||
<img src="../../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
<img src="../../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</vue-easy-print>
|
</vue-easy-print>
|
||||||
|
|
|
||||||
|
|
@ -596,142 +596,60 @@
|
||||||
<el-dialog :visible.sync="open" width="800px" :title="title" append-to-body>
|
<el-dialog :visible.sync="open" width="800px" :title="title" append-to-body>
|
||||||
<div style="height: 500px; overflow-y: scroll; padding: 0 20px">
|
<div style="height: 500px; overflow-y: scroll; padding: 0 20px">
|
||||||
<vue-easy-print tableShow ref="remarksPrintRef" class="print">
|
<vue-easy-print tableShow ref="remarksPrintRef" class="print">
|
||||||
<div
|
<div class="title" style="text-align: center; font-weight: 600; font-size: 16px">
|
||||||
class="title"
|
|
||||||
style="text-align: center; font-weight: 600; font-size: 16px"
|
|
||||||
>
|
|
||||||
领料单
|
领料单
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="info" style="margin-top: 10px; display: flex; flex-wrap: wrap">
|
||||||
class="info"
|
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
|
||||||
style="margin-top: 10px; display: flex; flex-wrap: wrap"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="item"
|
|
||||||
style="
|
|
||||||
width: 50%;
|
|
||||||
flex-shrink: 0;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
font-size: 14px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<span>领料单位:</span>
|
<span>领料单位:</span>
|
||||||
{{ leaseApplyData.leaseUnit }}
|
{{ leaseApplyData.leaseUnit }}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
|
||||||
class="item"
|
|
||||||
style="
|
|
||||||
width: 50%;
|
|
||||||
flex-shrink: 0;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
font-size: 14px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<span>工程名称:</span>
|
<span>工程名称:</span>
|
||||||
{{ leaseApplyData.leaseProject }}
|
{{ leaseApplyData.leaseProject }}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
|
||||||
class="item"
|
|
||||||
style="
|
|
||||||
width: 50%;
|
|
||||||
flex-shrink: 0;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
font-size: 14px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<span>时间:</span>
|
<span>时间:</span>
|
||||||
<span v-if="leaseApplyData.createTime">{{ leaseApplyData.createTime.split(" ")[0] }}</span>
|
<span v-if="leaseApplyData.createTime">{{ leaseApplyData.createTime.split(" ")[0] }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
|
||||||
class="item"
|
|
||||||
style="
|
|
||||||
width: 50%;
|
|
||||||
flex-shrink: 0;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
font-size: 14px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<span>编号:</span>
|
<span>编号:</span>
|
||||||
{{ leaseApplyData.code }}
|
{{ leaseApplyData.code }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table :data="leaseApplyDetails" class="table" border style="margin-top: 20px; padding: 1px">
|
||||||
:data="leaseApplyDetails"
|
|
||||||
class="table"
|
|
||||||
border
|
|
||||||
style="margin-top: 20px; padding: 1px"
|
|
||||||
>
|
|
||||||
<el-table-column label="序号" align="center" type="index" />
|
<el-table-column label="序号" align="center" type="index" />
|
||||||
<el-table-column label="类型名称" align="center" prop="maTypeName" />
|
<el-table-column label="类型名称" align="center" prop="maTypeName" />
|
||||||
<!-- <el-table-column type="expand">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<div class="nested-table-container">
|
|
||||||
<el-table :data="scope.row.maTypeDetails" style="width: 100%">
|
|
||||||
<!– 子表格的列 –>
|
|
||||||
<el-table-column label="序号" align="center" type="index"/>
|
|
||||||
<el-table-column label="类型名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
|
|
||||||
<el-table-column
|
|
||||||
label="规格型号"
|
|
||||||
align="center"
|
|
||||||
prop="typeName"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="单位"
|
|
||||||
align="center"
|
|
||||||
prop="unitName"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="预领数量"
|
|
||||||
align="center"
|
|
||||||
prop="preNum"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>-->
|
|
||||||
<el-table-column label="规格型号" align="center" prop="typeName" />
|
<el-table-column label="规格型号" align="center" prop="typeName" />
|
||||||
<el-table-column label="计量单位" align="center" prop="unitName" />
|
<el-table-column label="计量单位" align="center" prop="unitName" />
|
||||||
<el-table-column label="预领数量" align="center" prop="preNum" />
|
<el-table-column label="预领数量" align="center" prop="preNum" />
|
||||||
<el-table-column label="备注" align="center" prop="remark" />
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
<el-table-column
|
<el-table-column label="出库方式" align="center" prop="manageType">
|
||||||
label="出库方式"
|
|
||||||
align="center"
|
|
||||||
prop="manageType"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.manageType == 0" style="color: blue;" @click="codeInfo(scope.row)">编码出库</span>
|
<span v-if="scope.row.manageType == 0" style="color: blue;" @click="codeInfo(scope.row)">编码出库</span>
|
||||||
<span v-if="scope.row.manageType == 1">数量出库</span>
|
<span v-if="scope.row.manageType == 1">数量出库</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column-->
|
|
||||||
<!-- label="出库方式"-->
|
|
||||||
<!-- align="center"-->
|
|
||||||
<!-- prop="manageTypeName"-->
|
|
||||||
<!-- />-->
|
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<div class="fillIn" style="margin-top: 30px;display: flex;justify-content: space-between;">
|
||||||
<div
|
<div class="item" style="width: 24%;display: flex;align-items: center;flex-wrap: wrap;">
|
||||||
class="fillIn"
|
|
||||||
style="
|
|
||||||
margin-top: 30px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div class="item" style="width: 25%">
|
|
||||||
<span>审核:</span>
|
<span>审核:</span>
|
||||||
|
<img src="../../../../assets/signTemp.png" style="width: 80px;height: 30px;" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="width: 25%">
|
<div class="item" style="width: 24%;display: flex;align-items: center;flex-wrap: wrap;">
|
||||||
<span>领料:</span>
|
<span>领料:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="width: 25%">
|
<div class="item" style="width: 24%;display: flex;align-items: center;flex-wrap: wrap;">
|
||||||
<span>制单:</span>
|
<span>制单:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="width: 25%">
|
<div class="item" style="width: 28%;display: flex;align-items: center;">
|
||||||
<span>库管:</span>
|
<div style="width: 25%;">库管:</div>
|
||||||
|
<div style="width: 75%;display: flex;align-items: center;flex-wrap: wrap;">
|
||||||
|
<img src="../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
||||||
|
<img src="../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
||||||
|
<img src="../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
||||||
|
<img src="../../../../assets/signTemp.png" style="width: 45%;height: 30px;" alt="">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</vue-easy-print>
|
</vue-easy-print>
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
/>
|
/>
|
||||||
<el-table-column align="center" label="单位" prop="unitName" />
|
<el-table-column align="center" label="单位" prop="unitName" />
|
||||||
<el-table-column label="采购数量" prop="purchaseNum" align="center">
|
<el-table-column label="采购数量" prop="purchaseNum" align="center" width="120">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model.number="scope.row.purchaseNum"
|
v-model.number="scope.row.purchaseNum"
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="购置单价(元含税)"
|
label="购置单价(元含税)"
|
||||||
prop="purchaseTaxPrice"
|
prop="purchaseTaxPrice"
|
||||||
align="center" width="200"
|
align="center" width="150"
|
||||||
>
|
>
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
|
|
@ -198,7 +198,7 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="购置单价(元不含税)"
|
label="购置单价(元不含税)"
|
||||||
prop="purchasePrice"
|
prop="purchasePrice"
|
||||||
align="center" width="200"
|
align="center" width="150"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
|
|
@ -211,7 +211,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="租赁价(元/天)" prop="rentPrice"
|
<el-table-column label="租赁价(元/天)" prop="rentPrice"
|
||||||
align="center" width="200"
|
align="center" width="150"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
|
|
@ -670,9 +670,6 @@ export default {
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
this.tempDeviceType = this.tempDeviceType.filter(id => id !== lastSelected)
|
this.tempDeviceType = this.tempDeviceType.filter(id => id !== lastSelected)
|
||||||
} else if (typeData.storageNum <= 0) {
|
|
||||||
this.$message.error('所选物资规格类型暂时无库存,无法申请!')
|
|
||||||
this.tempDeviceType = this.tempDeviceType.filter(id => id !== lastSelected)
|
|
||||||
} else {
|
} else {
|
||||||
console.log(typeData,"typeData")
|
console.log(typeData,"typeData")
|
||||||
if(typeData.rentPrice>0){//判断是否有租赁价格:有禁用;无修改;
|
if(typeData.rentPrice>0){//判断是否有租赁价格:有禁用;无修改;
|
||||||
|
|
@ -690,6 +687,7 @@ export default {
|
||||||
purchaseNum : 1,
|
purchaseNum : 1,
|
||||||
fixCode: '0',
|
fixCode: '0',
|
||||||
status:1,
|
status:1,
|
||||||
|
isExitFile:'0',
|
||||||
bmFileInfos:[]
|
bmFileInfos:[]
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue