Ver Fonte

Merge branch 'master' of git.echepei.com:zhujiawei/Warehouse_management_ui

caojunjie há 4 anos atrás
pai
commit
7e7493c4f6

+ 12 - 4
src/views/agreement/agreementTask/index.vue

@@ -403,7 +403,14 @@ export default {
       loading: true,
       loading_s: false,
       browseStatus: false,
-      jFeetunitOptions:[],
+      // 计价单位
+      jFeetunitOptions: [
+        { dictLabel: "件数", dictValue: "1" },
+        { dictLabel: "毛重", dictValue: "2" },
+        { dictLabel: "净重", dictValue: "3" },
+        { dictLabel: "尺码", dictValue: "4" },
+        { dictLabel: "固定", dictValue: "5" },
+      ],
       goodsOptions:[],
       fTypeidOptions: [],
       // 选中数组
@@ -484,9 +491,9 @@ export default {
     this.getDicts("data_goods_category").then(response => {
       this.fTypeidOptions = response.data;
     });
-    this.getDicts("data_unitfees").then(response => {
-      this.jFeetunitOptions = response.data;
-    });
+    // this.getDicts("data_unitfees").then(response => {
+    //   this.jFeetunitOptions = response.data;
+    // });
   },
   methods: {
     test_s(){
@@ -752,6 +759,7 @@ export default {
     },
     /** 删除按钮操作 */
     handleDelete(row) {
+      console.log(row)
       const fIds = row.fId || this.ids;
       this.$confirm('是否确认删除作业费编号为"' + fIds + '"的数据项?', "警告", {
         confirmButtonText: "确定",

Diff do ficheiro suprimidas por serem muito extensas
+ 323 - 248
src/views/warehouseBusiness/inStock/index.vue


+ 18 - 14
src/views/warehouseBusiness/outStock/index.vue

@@ -928,7 +928,7 @@
           header-align="center"
           align="center"
           width="140px"
-          label="唛头"
+          label="*唛头"
         >
           <template slot-scope="scope">
             <el-input
@@ -3900,8 +3900,12 @@ export default {
     creditClick() {
       this.$refs["form"].validate((valid) => {
         for (let warehouseCr in this.dataListSelection) {
+           if (this.dataListSelection[warehouseCr].fBillstatus === 20) {
+            this.$message.error("请先卸货");
+            return false;
+          }
           if (this.dataListSelection[warehouseCr].fBillstatus != 30) {
-            this.$message.error("请先打印");
+            this.$message.error("请先打印作业单");
             return false;
           }
           if (!this.dataListSelection[warehouseCr].fGrossweight) {
@@ -4104,16 +4108,18 @@ export default {
      if (this.Printinglist.length > 0) {
         for (let warehouseCr in this.Printinglist) {
           console.log(this.Printinglist);
-          // if (this.Printinglist[warehouseCr].fBillstatus === '20') {
-          // this.$message.error("请先入库");
-          // return false;
-          // if (
-          //   this.Printinglist[warehouseCr].fDriverName !=
-          //   this.Printinglist[0].fDriverName
-          // ) {
-          //   this.$message.error("请选择相同司机名");
-          //   return false;
-          // }
+           if (this.dataListSelection[warehouseCr].fBillstatus === 10) {
+            this.$message.error("请先打印");
+            return false;
+          }if (this.dataListSelection[warehouseCr].fBillstatus === 30) {
+            this.$message.error("请勿重复卸货");
+            return false;
+          }
+          if (this.Printinglist[warehouseCr].fBillstatus === 40) {
+            this.$message.error("请勿重复卸货");
+            return false;
+          }
+          
         }
           this.$refs["form"].validate((valid) => {
 
@@ -4323,9 +4329,7 @@ export default {
             this.fid = response.data.warehouseBills.fId;
               // this.open = true;
             this.getList();
-            return true
           });
-          return false
     },
     // 请核成功
     pleaseCheck () {

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff