|
@@ -167,12 +167,12 @@
|
|
|
<a-row :gutter="15">
|
|
|
<a-col :md="4" :sm="24">
|
|
|
<a-form-model-item label="产品编码">
|
|
|
- <a-input id="bulkWarehousingOrderEdit-code" v-model.trim="queryChooseParam.code" allowClear placeholder="请输入产品编码"/>
|
|
|
+ <a-input id="bulkWarehousingOrderEdit-code" v-model.trim="queryChooseParam.productCode" allowClear placeholder="请输入产品编码"/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :md="4" :sm="24">
|
|
|
<a-form-model-item label="产品名称">
|
|
|
- <a-input id="bulkWarehousingOrderEdit-name" v-model.trim="queryChooseParam.name" allowClear placeholder="请输入产品名称"/>
|
|
|
+ <a-input id="bulkWarehousingOrderEdit-name" v-model.trim="queryChooseParam.productName" allowClear placeholder="请输入产品名称"/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :md="4" :sm="24" style="margin-bottom: 10px;">
|
|
@@ -340,8 +340,8 @@ export default {
|
|
|
productTypeSn3: undefined
|
|
|
},
|
|
|
queryChooseParam: {
|
|
|
- code: '', // 产品编码
|
|
|
- name: '' // 产品名称
|
|
|
+ productCode: '', // 产品编码
|
|
|
+ productName: '' // 产品名称
|
|
|
},
|
|
|
productType: [],
|
|
|
warehouseCascadeData: [], // 仓库仓位
|
|
@@ -412,7 +412,7 @@ export default {
|
|
|
parameter.sortField = 'productCode'
|
|
|
parameter.sortAlias = 'sppd'
|
|
|
}
|
|
|
- const params = Object.assign(parameter, { sparePartsPurchaseSn: this.$route.params.sn })
|
|
|
+ const params = Object.assign(parameter, this.queryChooseParam, { sparePartsPurchaseSn: this.$route.params.sn })
|
|
|
return sparePartsPurDetailList(params).then(res => {
|
|
|
this.getDetailCount(params)
|
|
|
const data = res.data
|
|
@@ -504,8 +504,8 @@ export default {
|
|
|
},
|
|
|
// 重置已选产品列表
|
|
|
resetChooseSearchForm () {
|
|
|
- this.queryChooseParam.name = ''
|
|
|
- this.queryChooseParam.code = ''
|
|
|
+ this.queryChooseParam.productName = ''
|
|
|
+ this.queryChooseParam.productCode = ''
|
|
|
this.$refs.chooseTable.refresh(true)
|
|
|
},
|
|
|
// 打印预览/快捷打印
|