Browse Source

20250521

master
qiezi 8 months ago
parent
commit
f7cd35b266
  1. 32
      src/views/modules/production/shopOrderProductView.vue

32
src/views/modules/production/shopOrderProductView.vue

@ -4,6 +4,10 @@
<el-form-item :label="'工厂编码'"> <el-form-item :label="'工厂编码'">
<el-input v-model="searchData.site" style="width: 130px"></el-input> <el-input v-model="searchData.site" style="width: 130px"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="'客户编码'">
<span slot="label" @click="getBaseList(12)"><a >客户编码</a></span>
<el-input v-model="searchData.customerId" style="width: 130px" clearable></el-input>
</el-form-item>
<el-form-item :label="'生产订单号'"> <el-form-item :label="'生产订单号'">
<el-input v-model="searchData.orderNo" style="width: 130px"></el-input> <el-input v-model="searchData.orderNo" style="width: 130px"></el-input>
</el-form-item> </el-form-item>
@ -111,7 +115,26 @@
serialNumber: null, serialNumber: null,
columnType: null, columnType: null,
align: 'left' align: 'left'
}, {
},
{
tableId: "orderView",
tableName: this.$route.meta.title,
columnProp: "customerDesc",
columnLabel: "客户",
columnHidden: false,
columnImage: false,
columnSortable: false,
columnWidth: 80,
format: null,
functionId: this.$route.meta.menuId,
sortLv: 0,
status: true,
fixed: '',
serialNumber: null,
columnType: null,
align: 'left'
},
{
tableId: "orderView", tableId: "orderView",
tableName: this.$route.meta.title, tableName: this.$route.meta.title,
columnProp: "orderNo", columnProp: "orderNo",
@ -347,6 +370,7 @@
startDate:'', startDate:'',
endDate:'', endDate:'',
closedFlag:'Y', closedFlag:'Y',
customerId:'',
}, },
} }
}, },
@ -373,6 +397,9 @@
if (val === 88) { if (val === 88) {
strVal = this.searchData.resourceId strVal = this.searchData.resourceId
} }
if (val === 12) {
strVal = this.searchData.customerId
}
this.$refs.baseList.init(val, strVal) this.$refs.baseList.init(val, strVal)
}) })
}, },
@ -389,6 +416,9 @@
if (this.tagNo === 88) { if (this.tagNo === 88) {
this.searchData.resourceId = val.ResourceID this.searchData.resourceId = val.ResourceID
} }
if (this.tagNo === 12) {
this.searchData.customerId = val.CustomerID
}
}, },
search () { search () {

Loading…
Cancel
Save