From a05d0b46a28f1420e9ce3effd6a6c70479ebc243 Mon Sep 17 00:00:00 2001
From: cuilei <ray_tsu1@163.com>
Date: 星期一, 16 六月 2025 14:23:42 +0800
Subject: [PATCH] 工具管理-工具出库申请增加填写零件图号、名称等字段

---
 src/views/tms/modules/outBound/OutboundOrderModal.vue |   62 ++++++++++++++++++++++++++++--
 1 files changed, 57 insertions(+), 5 deletions(-)

diff --git a/src/views/tms/modules/outBound/OutboundOrderModal.vue b/src/views/tms/modules/outBound/OutboundOrderModal.vue
index 0f9135b..0562028 100644
--- a/src/views/tms/modules/outBound/OutboundOrderModal.vue
+++ b/src/views/tms/modules/outBound/OutboundOrderModal.vue
@@ -18,7 +18,7 @@
           </a-col>
           <a-col :span="12">
             <a-form-model-item label="鍑哄簱绫诲瀷" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="outStorehouseType">
-              <j-dict-select-tag :disabled="disableSubmit" @change="handleTypeChange" type="list" v-model="model.outStorehouseType" dictCode="out_storehouse_type" placeholder="璇烽�夋嫨鍑哄簱绫诲瀷" />
+              <j-dict-select-tag :disabled="disableSubmit || addShow" @change="handleTypeChange" type="list" v-model="model.outStorehouseType" dictCode="out_storehouse_type" placeholder="璇烽�夋嫨鍑哄簱绫诲瀷"/>
             </a-form-model-item>
           </a-col>
         </a-row>
@@ -31,6 +31,54 @@
           <a-col :span="12">
             <a-form-model-item label="棰嗙敤浜嬬敱" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="subjectMatter">
               <a-input :disabled="disableSubmit" v-model="model.subjectMatter" placeholder="璇疯緭鍏ラ鐢ㄤ簨鐢�" ></a-input>
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+        <a-row>
+          <a-col :span="12">
+            <a-form-model-item label="闆朵欢鍥惧彿" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partDrawingNo">
+              <a-input :disabled="disableSubmit" v-model="model.partDrawingNo" placeholder="璇疯緭鍏ラ浂浠跺浘鍙�" ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-model-item label="闆朵欢鍚嶇О" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partName">
+              <a-input :disabled="disableSubmit" v-model="model.partName" placeholder="璇疯緭鍏ラ浂浠跺悕绉�" ></a-input>
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+        <a-row>
+          <a-col :span="12">
+            <a-form-model-item label="闆朵欢鏉愭枡" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="partMaterial">
+              <a-input :disabled="disableSubmit" v-model="model.partMaterial" placeholder="璇疯緭鍏ラ浂浠舵潗鏂�" ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-model-item label="宸ュ簭锛堝伐姝ュ彿锛�" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="productionProcessesNo">
+              <a-input :disabled="disableSubmit" v-model="model.productionProcessesNo" placeholder="璇疯緭鍏ュ伐搴忥紙宸ユ鍙凤級" ></a-input>
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+        <a-row>
+          <a-col :span="12">
+            <a-form-model-item label="鍔犲伐鎵规" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="batchCode">
+              <a-input :disabled="disableSubmit" v-model="model.batchCode" placeholder="璇疯緭鍏ュ姞宸ユ壒娆�" ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-model-item label="鍔犲伐鏁伴噺" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="machiningCount">
+              <a-input-number :disabled="disableSubmit" v-model="model.machiningCount" placeholder="璇疯緭鍏ュ姞宸ユ暟閲�" :min="1" style="width: 100%"></a-input-number>
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+        <a-row>
+          <a-col :span="12">
+            <a-form-model-item label="鍔犲伐璁惧" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="equipmentCode">
+              <a-input :disabled="disableSubmit" v-model="model.equipmentCode" placeholder="璇疯緭鍏ュ姞宸ヨ澶�" ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-model-item label="绋嬪簭鍚�" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ncName">
+              <a-input :disabled="disableSubmit" v-model="model.ncName" placeholder="璇疯緭鍏ョ▼搴忓悕" ></a-input>
             </a-form-model-item>
           </a-col>
         </a-row>
@@ -346,16 +394,20 @@
               const type = record.outStorehouseType
               switch (type) {
                 case '1':
-                  this.handleTypeChange('1')
+                  this.selectBorrowTool = true
+                  this.selectSharpenTool = false
                   break
                 case '2':
-                  this.handleTypeChange('2')
+                  this.selectBorrowTool = false
+                  this.selectSharpenTool = false
                   break
                 case '3':
-                  this.handleTypeChange('3')
+                  this.selectBorrowTool = false
+                  this.selectSharpenTool = false
                   break
                 case '4':
-                  this.handleTypeChange('4')
+                  this.selectBorrowTool = false
+                  this.selectSharpenTool = true
                   break
               }
             }

--
Gitblit v1.9.3