ccjgmwz 3 лет назад
Родитель
Сommit
f90095846e

+ 1 - 1
src/views/taskManagement/tranManagementWarehouseInOutTask.vue

@@ -63,7 +63,7 @@
         <el-table-column prop="warehouseName" class="table_td" label="库房名"></el-table-column>
         <el-table-column prop="inOutType" class="table_td" label="出入库类型"></el-table-column>
         <el-table-column prop="goodsName" class="table_td" label="货名"></el-table-column>
-        <el-table-column prop="weight" class="table_td" label="数量"></el-table-column>
+        <el-table-column prop="weight" class="table_td" label="重量(吨)"></el-table-column>
         <el-table-column prop="predictDate" class="table_td" label="预计日期"></el-table-column>
         <el-table-column prop="publisher" class="table_td" label="发布者"></el-table-column>
         <el-table-column prop="taskStatus" label="状态">

+ 21 - 21
src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue

@@ -72,9 +72,9 @@
                 :value="item.constValue"></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style="margin-left: 350px; margin-top: -40px">
-            <el-input @input="weightchange1" v-model="dataList.weight" placeholder="请输入数量" maxlength="120" size="small"
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
+            <el-input @input="weightchange1" v-model="dataList.weight" placeholder="请输入重量(吨)" maxlength="120" size="small"
               class="huom" />
           </el-form-item>
           <!-- 品级 -->
@@ -167,9 +167,9 @@
                 :value="item.constValue"></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style="margin-left: 350px; margin-top: -40px">
-            <el-input @input="weightchange" v-model="dataList1.weight" placeholder="请输入数量" maxlength="120" size="small"
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
+            <el-input @input="weightchange" v-model="dataList1.weight" placeholder="请输入重量(吨)" maxlength="120" size="small"
               class="huom" />
           </el-form-item>
           <!-- 品级 -->
@@ -263,9 +263,9 @@
                 :value="item.constValue"></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style="margin-left: 350px; margin-top: -40px">
-            <el-input :disabled="dataList.taskTypeKey == 4" v-model="dataList.weight" placeholder="请输入数量"
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
+            <el-input :disabled="dataList.taskTypeKey == 4" v-model="dataList.weight" placeholder="请输入重量(吨)"
               maxlength="120" size="small" class="huom" />
           </el-form-item>
           <!-- 品级 -->
@@ -734,7 +734,7 @@
           }
           if (!this.dataList.weight) {
             this.$message({
-              message: '数量不能为空!',
+              message: '重量(吨)不能为空!',
               type: 'warning'
             })
             return
@@ -746,10 +746,10 @@
               (String(this.dataList.weight).indexOf('.') + 1) >
               2) ||
             this.dataList.weight < 0 ||
-            this.dataList.weight > 2000
+            this.dataList.weight > 200000
           ) {
             this.$message({
-              message: '数量输入有误!',
+              message: '重量(吨)输入有误!',
               type: 'warning'
             })
             return
@@ -871,7 +871,7 @@
           }
           if (!this.dataList1.weight) {
             this.$message({
-              message: '数量不能为空!',
+              message: '重量(吨)不能为空!',
               type: 'warning'
             })
             return
@@ -883,10 +883,10 @@
               (String(this.dataList1.weight).indexOf('.') + 1) >
               2) ||
             this.dataList1.weight < 0 ||
-            this.dataList1.weight > 2000
+            this.dataList1.weight > 200000
           ) {
             this.$message({
-              message: '数量输入有误!',
+              message: '重量(吨)输入有误!',
               type: 'warning'
             })
             return
@@ -1017,7 +1017,7 @@
           }
           if (!this.dataList1.weight) {
             this.$message({
-              message: '数量不能为空!',
+              message: '重量(吨)不能为空!',
               type: 'warning'
             })
             return
@@ -1029,10 +1029,10 @@
               (String(this.dataList1.weight).indexOf('.') + 1) >
               2) ||
             this.dataList1.weight < 0 ||
-            this.dataList1.weight > 2000
+            this.dataList1.weight > 200000
           ) {
             this.$message({
-              message: '数量输入有误!',
+              message: '重量(吨)输入有误!',
               type: 'warning'
             })
             return
@@ -1185,7 +1185,7 @@
           }
           if (!this.dataList1.weight) {
             this.$message({
-              message: '数量不能为空!',
+              message: '重量(吨)不能为空!',
               type: 'warning'
             })
             return
@@ -1197,10 +1197,10 @@
               (String(this.dataList1.weight).indexOf('.') + 1) >
               2) ||
             this.dataList1.weight < 0 ||
-            this.dataList1.weight > 2000
+            this.dataList1.weight > 200000
           ) {
             this.$message({
-              message: '数量输入有误!',
+              message: '重量(吨)输入有误!',
               type: 'warning'
             })
             return

+ 9 - 9
src/views/taskManagement/tranManagementWarehouseInOutTaskAudit.vue

@@ -143,12 +143,12 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style="margin-left: 350px; margin-top: -40px">
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
             <el-input
               disabled
               v-model="dataList.weight"
-              placeholder="请输入数量"
+              placeholder="请输入重量(吨)"
               maxlength="120"
               size="small"
               class="huom"
@@ -356,12 +356,12 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style="margin-left: 350px; margin-top: -40px">
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
             <el-input
               @input="weightchange"
               v-model="dataList1.weight"
-              placeholder="请输入数量"
+              placeholder="请输入重量(吨)"
               maxlength="120"
               size="small"
               class="huom"
@@ -569,12 +569,12 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style="margin-left: 350px; margin-top: -40px">
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
             <el-input
               disabled
               v-model="dataList.weight"
-              placeholder="请输入数量"
+              placeholder="请输入重量(吨)"
               maxlength="120"
               size="small"
               class="huom"

+ 18 - 18
src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue

@@ -143,11 +143,11 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style=" margin-left: 350px; margin-top: -40px">
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style=" margin-left: 350px; margin-top: -40px">
             <el-input
               v-model="dataList.weight"
-              placeholder="请输入数量"
+              placeholder="请输入重量(吨)"
               maxlength="120"
               size="small"
               class="huom"
@@ -341,12 +341,12 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style=" margin-left: 350px; margin-top: -40px">
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style=" margin-left: 350px; margin-top: -40px">
             <el-input
               @input="weightchange"
               v-model="dataList1.weight"
-              placeholder="请输入数量"
+              placeholder="请输入重量(吨)"
               maxlength="120"
               size="small"
               class="huom"
@@ -543,12 +543,12 @@
               ></el-option>
             </el-select>
           </el-form-item>
-          <!--数量-->
-          <el-form-item label="数量" span="1" style=" margin-left: 350px; margin-top: -40px">
+          <!--重量(吨)-->
+          <el-form-item label="重量(吨)" span="1" style=" margin-left: 350px; margin-top: -40px">
             <el-input
               :disabled="dataList.taskTypeKey == 4"
               v-model="dataList.weight"
-              placeholder="请输入数量"
+              placeholder="请输入重量(吨)"
               maxlength="120"
               size="small"
               class="huom"
@@ -951,7 +951,7 @@ export default {
         }
         if (!this.dataList.weight) {
           this.$message({
-            message: '数量不能为空!',
+            message: '重量(吨)不能为空!',
             type: 'warning'
           })
           return
@@ -963,10 +963,10 @@ export default {
               (String(this.dataList.weight).indexOf('.') + 1) >
               2) ||
           this.dataList.weight < 0 ||
-          this.dataList.weight > 2000
+          this.dataList.weight > 200000
         ) {
           this.$message({
-            message: '数量输入有误!',
+            message: '重量(吨)输入有误!',
             type: 'warning'
           })
           return
@@ -1087,7 +1087,7 @@ export default {
         }
         if (!this.dataList1.weight) {
           this.$message({
-            message: '数量不能为空!',
+            message: '重量(吨)不能为空!',
             type: 'warning'
           })
           return
@@ -1099,10 +1099,10 @@ export default {
               (String(this.dataList1.weight).indexOf('.') + 1) >
               2) ||
           this.dataList1.weight < 0 ||
-          this.dataList1.weight > 2000
+          this.dataList1.weight > 200000
         ) {
           this.$message({
-            message: '数量输入有误!',
+            message: '重量(吨)输入有误!',
             type: 'warning'
           })
           return
@@ -1236,7 +1236,7 @@ export default {
         }
         if (!this.dataList1.weight) {
           this.$message({
-            message: '数量不能为空!',
+            message: '重量(吨)不能为空!',
             type: 'warning'
           })
           return
@@ -1248,10 +1248,10 @@ export default {
               (String(this.dataList1.weight).indexOf('.') + 1) >
               2) ||
           this.dataList1.weight < 0 ||
-          this.dataList1.weight > 2000
+          this.dataList1.weight > 200000
         ) {
           this.$message({
-            message: '数量输入有误!',
+            message: '重量(吨)输入有误!',
             type: 'warning'
           })
           return