FengChaoYu před 3 roky
rodič
revize
5d795ea23a
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      src/views/supply/engin/components/home_form.vue

+ 3 - 0
src/views/supply/engin/components/home_form.vue

@@ -366,6 +366,7 @@ export default {
         createMan: '',
         createDate: '',
         fileNum: '',
+        loginUserId: ''
       },
       mainFormRules: {
         orderDate: [{ required: true, message: '请选择单据日期', trigger: 'change' }],
@@ -588,6 +589,7 @@ export default {
         this.isShowDialog = false;
         let data = res.data;
         this.mainForm.type = data.productCategory;
+        this.mainForm.loginUserId = data.userid
         this.mainForm.saleType = '';
         this.mainForm.loginNum = data.recordNo;
         this.mainForm.enginName = data.projectName;
@@ -711,6 +713,7 @@ export default {
             enginOrderId: this.mainForm.orderNum,
             orderDate: this.mainForm.orderDate,
             mainId: this.mainForm.type || '',
+            loginUserId: this.mainForm.loginUserId,
             refEnginRecordNo: this.mainForm.loginNum || '',
             refFactoryNo: this.mainForm.factoryNum || '',
             saleTypeId: this.mainForm.saleType,