|
@@ -18,7 +18,7 @@
|
|
<a-row type="flex" :gutter="12" justify="start">
|
|
<a-row type="flex" :gutter="12" justify="start">
|
|
<a-col flex="auto">
|
|
<a-col flex="auto">
|
|
<a-form-item label="采购单号">
|
|
<a-form-item label="采购单号">
|
|
- <a-input id="productInfoList-purchaseBillNo" v-model.trim="queryParam.purchaseBillNo" placeholder="请输入采购单号" allowClear />
|
|
|
|
|
|
+ <a-input id="productInfoList-purchaseBillNo" v-model.trim="purchaseBillNo" placeholder="请输入采购单号" allowClear />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col flex="auto">
|
|
<a-col flex="auto">
|
|
@@ -136,7 +136,7 @@ export default {
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
this.disabled = true
|
|
this.disabled = true
|
|
this.spinning = true
|
|
this.spinning = true
|
|
- return outOfStockDetailList(Object.assign(parameter, { purchaseBillSnList: this.chooseData, dealerProduct: this.queryParam })).then(res => {
|
|
|
|
|
|
+ return outOfStockDetailList(Object.assign(parameter, { purchaseBillSnList: this.chooseData, purchaseBillNo: this.purchaseBillNo, dealerProduct: this.queryParam })).then(res => {
|
|
let data
|
|
let data
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
data = res.data
|
|
data = res.data
|
|
@@ -154,7 +154,6 @@ export default {
|
|
rowSelectionInfo: null,
|
|
rowSelectionInfo: null,
|
|
productType: [],
|
|
productType: [],
|
|
queryParam: { // 查询条件
|
|
queryParam: { // 查询条件
|
|
- purchaseBillNo: '',
|
|
|
|
code: '', // 产品编码
|
|
code: '', // 产品编码
|
|
name: '', // 产品名称
|
|
name: '', // 产品名称
|
|
productBrandSn: undefined, // 产品品牌
|
|
productBrandSn: undefined, // 产品品牌
|
|
@@ -211,7 +210,6 @@ export default {
|
|
},
|
|
},
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.queryParam = {
|
|
this.queryParam = {
|
|
- purchaseBillNo: '',
|
|
|
|
productBrandSn: undefined,
|
|
productBrandSn: undefined,
|
|
code: '', // 产品编码
|
|
code: '', // 产品编码
|
|
name: '', // 产品名称
|
|
name: '', // 产品名称
|
|
@@ -219,6 +217,7 @@ export default {
|
|
productTypeSn2: '', // 产品二级分类
|
|
productTypeSn2: '', // 产品二级分类
|
|
productTypeSn3: '' // 产品三级分类
|
|
productTypeSn3: '' // 产品三级分类
|
|
}
|
|
}
|
|
|
|
+ this.purchaseBillNo = ''
|
|
this.productType = []
|
|
this.productType = []
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
}
|
|
}
|