|
|
@@ -58,6 +58,10 @@ export default {
|
|
|
default: () => {
|
|
|
return {};
|
|
|
}
|
|
|
+ },
|
|
|
+ needProduces: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
@@ -95,6 +99,28 @@ export default {
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 200
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'needProduce',
|
|
|
+ label: '订单类型',
|
|
|
+ align: 'center',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 150,
|
|
|
+
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
+ let businessType =
|
|
|
+ cellValue == 1
|
|
|
+ ? '有客户生产性订单'
|
|
|
+ : cellValue == 2
|
|
|
+ ? '无客户生产性订单'
|
|
|
+ : cellValue == 4
|
|
|
+ ? '不定向订单'
|
|
|
+ : cellValue == 5
|
|
|
+ ? '委外订单'
|
|
|
+ : '库存式订单';
|
|
|
+
|
|
|
+ return businessType;
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'contractName',
|
|
|
label: '合同名称',
|
|
|
@@ -196,6 +222,9 @@ export default {
|
|
|
if (this.contactData.id) {
|
|
|
where['contactId'] = this.contactData.id;
|
|
|
}
|
|
|
+ if (this.needProduces) {
|
|
|
+ where['needProduces'] = this.needProduces;
|
|
|
+ }
|
|
|
return getTableList({
|
|
|
pageNum: page,
|
|
|
size: limit,
|