Ver Fonte

no message

FengChaoYu há 3 anos atrás
pai
commit
22a2d051db
1 ficheiros alterados com 7 adições e 3 exclusões
  1. 7 3
      src/views/supply/engin/components/commerce_form.vue

+ 7 - 3
src/views/supply/engin/components/commerce_form.vue

@@ -682,7 +682,7 @@ export default {
         projectName: this.screenForm.projectName,
         useUnit: this.screenForm.useUnit,
         examineStatus: 'OK',
-            customerId:this.listItem ?this.listItem.customerId :'' ,
+        customerKeyWord: this.listItem ? this.listItem.customerNumber : this.mainForm.jxsNum ,
       }).then(res => {
         this.dialogTable_dataList = res.data.records;
         this.dialogTable_listTotal = res.data.total;
@@ -692,7 +692,10 @@ export default {
 
     // 工程登录列表 - 打开弹窗
     openShareDetail() {
-
+      if (!this.mainForm.jxsNum) {
+        this.$errorMsg("请先选择经销商")
+        return
+      }
       this.isFirst = true;
       this.isShowDialog = true;
       this.dialogTable_currentPage = 1;
@@ -722,7 +725,8 @@ export default {
     chooseItem(id) {
       getComLoginDetail({
         recordNo: id,
-        enginOrderId: this.mainForm.orderNum
+        enginOrderId: this.mainForm.orderNum,
+        customerId: this.mainForm.jxsId
       }).then(res => {
         this.isShowDialog = false;
         let data = res.data;