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

Loading…
Cancel
Save