Przeglądaj źródła

【新增】工程信息单-行业类别

莫绍宝 3 lat temu
rodzic
commit
94ceb66e63
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      src/views/supply/engin/components/engin_form.vue

+ 8 - 0
src/views/supply/engin/components/engin_form.vue

@@ -60,6 +60,11 @@
           </el-form-item>
         </el-col>
         <el-col :xs="24" :sm="12" :lg="8">
+          <el-form-item label="行业类别" prop="tradeCategory">
+            <el-input v-model="mainForm.tradeCategory" placeholder="请输入行业类别"></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :xs="24" :sm="24" :lg="24">
           <el-form-item label="安装地址" prop="address">
             <el-input v-model="mainForm.address" placeholder="请输入安装地址"></el-input>
           </el-form-item>
@@ -319,6 +324,7 @@ export default {
         orderType: '',
         jxsName: '',
         company: '',
+        tradeCategory: '',
         address: '',
         enginNum: '',
         factoryNum: '',
@@ -421,6 +427,7 @@ export default {
         this.mainForm.orderType = data.orderType;
         this.mainForm.jxsName = data.customerName;
         this.mainForm.company = data.useUnit;
+        this.mainForm.tradeCategory = data.tradeCategory;
         this.mainForm.address = data.installAddress;
         this.mainForm.enginNum = data.projectNo;
         this.mainForm.factoryNum = data.enginFactoryNo;
@@ -652,6 +659,7 @@ export default {
             projectName: this.mainForm.enginName,
             orderType: this.mainForm.orderType,
             useUnit: this.mainForm.company,
+            tradeCategory: this.mainForm.tradeCategory,
             installAddress: this.mainForm.address,
             projectNo: this.mainForm.enginNum,
             enginFactoryNo: this.mainForm.factoryNum,