haoxuan
2024-04-18 35120acdc91fd8b86c5c85ccdcfeb63051095344
添加入库 companId修改为字符串
1个文件已修改
12 ■■■■ 已修改文件
src/views/overview/AddOverviewDialog.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/AddOverviewDialog.vue
@@ -1154,13 +1154,13 @@
    },
    saveParams() {
      let data = this.editConfig.infomation;
      let companyID = 0;
      let companyID = '';
      let companyName = "";
      let contacterID = 0;
      let contacterID = '';
      let contacterName = "";
      if (this.editConfig.title == "新建") {
        companyID =
          Object.keys(this.companyObj).length == 0 ? 0 : this.companyObj.value;
          Object.keys(this.companyObj).length == 0 ? '' : this.companyObj.value;
        companyName =
          Object.keys(this.companyObj).length == 0
            ? ""
@@ -1483,11 +1483,11 @@
            productName: res.name,
            productId: res.id,
            auxiliaryUnit:adjunctUnit,
            auxiliaryAmount:adjunctAmount,
            auxiliaryAmount:Number(adjunctAmount),
            inputFloatAuxiliaryAmount:isValue,
            grossWeight:res.grossWeight,
            grossWeight:Number(res.grossWeight),
            totalGrossWeight:res.grossWeight?Number(res.grossWeight)*1:'',
            netWeight:res.netWeight,
            netWeight:Number(res.netWeight),
            totalNetWeight:res.netWeight?Number(res.netWeight)*1:'', 
          };
        }