Browse Source

修改创建入库数据查询不对

fix_bug_pro20231227
caoyizhong 1 year ago
parent
commit
4904baae4d
  1. 8
      src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

8
src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

@ -274,7 +274,7 @@
remote-show-suffix remote-show-suffix
:remote-method="getBrandName" :remote-method="getBrandName"
@change="getBanerqd($event)" @change="getBanerqd($event)"
placeholder="请输入物品编码" placeholder="请输入物资品牌"
> >
<el-option <el-option
v-for="item in brandList" v-for="item in brandList"
@ -516,8 +516,10 @@ export default {
// //
async remoteMethodStuffName(query){ async remoteMethodStuffName(query){
if (query) { if (query) {
this.stuff = [];
this.stuffName = [];
let cl = await getListMaterial(this.page.currentPage, this.page.pageSize,{name:query}); let cl = await getListMaterial(this.page.currentPage, this.page.pageSize,{name:query});
// console.log(">>>>",cl.data.data.records); console.log("物品名称",cl.data.data.records);
cl.data.data.records.forEach(i => { cl.data.data.records.forEach(i => {
let st = { let st = {
label: i.name, label: i.name,
@ -656,6 +658,7 @@ export default {
} }
let cl = await getListClient(this.page.currentPage, this.page.pageSize,{pid:row}); let cl = await getListClient(this.page.currentPage, this.page.pageSize,{pid:row});
// console.log(">>>>",cl.data.data.records); // console.log(">>>>",cl.data.data.records);
this.shop =[];
cl.data.data.records.forEach(i =>{ cl.data.data.records.forEach(i =>{
let st= { let st= {
label: i.clientName, label: i.clientName,
@ -693,6 +696,7 @@ export default {
async remoteMethod(query){ async remoteMethod(query){
if (query) { if (query) {
// this.loading = true; // this.loading = true;
this.options =[];
let cl = await getListClient(this.page.currentPage, this.page.pageSize,{clientName:query}); let cl = await getListClient(this.page.currentPage, this.page.pageSize,{clientName:query});
console.log("客户信息1234>>>>",cl.data.data.records); console.log("客户信息1234>>>>",cl.data.data.records);
cl.data.data.records.forEach(i =>{ cl.data.data.records.forEach(i =>{

Loading…
Cancel
Save