|
|
@@ -378,11 +378,11 @@
|
|
|
替代料
|
|
|
</el-link>
|
|
|
|
|
|
- <template v-if="scope.row.batchNo && $hasPermission('eom:saleordersendrecord:pending')">
|
|
|
+ <template v-if="scope.row.batchNo && $hasPermission('eom:saleordersendrecord:pending' ) && needPending == 1">
|
|
|
<el-popconfirm
|
|
|
v-if="scope.row.isSuspend === 1"
|
|
|
class="ele-action"
|
|
|
- title="确定要挂起吗?"
|
|
|
+ title="确定要取消挂起吗?"
|
|
|
@confirm="pending(scope.row, 0)"
|
|
|
>
|
|
|
<template v-slot:reference>
|
|
|
@@ -566,12 +566,19 @@
|
|
|
datasource: []
|
|
|
},
|
|
|
rules: {},
|
|
|
- columnsVersion: 1
|
|
|
+ columnsVersion: 1,
|
|
|
+ needPending: 0
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
this.requestDict('产地');
|
|
|
this.requestDict('生产类型');
|
|
|
+ // 发起时物品清单是否需要挂起 //0否 1是
|
|
|
+ parameterGetByCode({
|
|
|
+ code: 'eom_saleOreder_invoice_pending'
|
|
|
+ }).then((res) => {
|
|
|
+ this.needPending = res.value;
|
|
|
+ });
|
|
|
parameterGetByCode({
|
|
|
code: 'eom_saleManage_invoice_warehouseId'
|
|
|
}).then((res) => {
|