|
|
@@ -51,6 +51,10 @@
|
|
|
<template v-slot:isTransferToProductionPlan="{ row }">
|
|
|
<span>{{ row.isTransferToProductionPlan == 1 ? "已转生产计划" : "未转生产计划"}}</span>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template v-slot:isMeasuring="{ row }">
|
|
|
+ <span>{{ row.isMeasuring == 1 ? "是" : "否"}}</span>
|
|
|
+ </template>
|
|
|
</ele-pro-table>
|
|
|
|
|
|
<template v-slot:footer v-if="type != 'detail' && type != 'send'">
|
|
|
@@ -241,12 +245,20 @@
|
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
+ // {
|
|
|
+ // prop: 'isTransferToProductionPlan',
|
|
|
+ // slot: 'isTransferToProductionPlan',
|
|
|
+ // label: '是否转生产计划',
|
|
|
+ // align: 'center',
|
|
|
+ // showOverflowTooltip: true
|
|
|
+ // }
|
|
|
{
|
|
|
- prop: 'isTransferToProductionPlan',
|
|
|
- slot: 'isTransferToProductionPlan',
|
|
|
- label: '是否转生产计划',
|
|
|
+ prop: 'isMeasuring',
|
|
|
+ slot: 'isMeasuring',
|
|
|
+ label: '是否收货',
|
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ show: this.type == 'add' ? true : false
|
|
|
}
|
|
|
];
|
|
|
}
|
|
|
@@ -271,9 +283,12 @@
|
|
|
if(this.type === 'send') {
|
|
|
obj.detailType = 3;
|
|
|
}
|
|
|
- if(this.type === 'detail'){
|
|
|
+ if(this.type === 'detail') {
|
|
|
obj.detailType = 2;
|
|
|
}
|
|
|
+ if(this.type === 'add') {
|
|
|
+ obj.status = 1;
|
|
|
+ }
|
|
|
await pleaseEntrustGoodsDetail(obj).then((res) => {
|
|
|
this.goodsList = [];
|
|
|
res.data.forEach((item) => {
|