| 
														
															@@ -167,7 +167,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column 
														 | 
														
														 | 
														
															       <el-table-column 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         label="入库日期" 
														 | 
														
														 | 
														
															         label="入库日期" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         align="center" 
														 | 
														
														 | 
														
															         align="center" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        prop="fcreatetime" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        prop="fCreatetime" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         width="180" 
														 | 
														
														 | 
														
															         width="180" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ><template slot-scope="scope"> 
														 | 
														
														 | 
														
															         ><template slot-scope="scope"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <span>{{ parseTime(scope.row.fcreatetime, "{y}-{m}-{d}") }}</span> 
														 | 
														
														 | 
														
															           <span>{{ parseTime(scope.row.fcreatetime, "{y}-{m}-{d}") }}</span> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -207,6 +207,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             size="mini" 
														 | 
														
														 | 
														
															             size="mini" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             type="text" 
														 | 
														
														 | 
														
															             type="text" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             icon="el-icon-delete" 
														 | 
														
														 | 
														
															             icon="el-icon-delete" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-if="scope.row.fBillstatus !== '6'" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             @click="handleDelete(scope.row)" 
														 | 
														
														 | 
														
															             @click="handleDelete(scope.row)" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             v-hasPermi="['warehouseBusiness:warehousebills:remove']" 
														 | 
														
														 | 
														
															             v-hasPermi="['warehouseBusiness:warehousebills:remove']" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             >删除 
														 | 
														
														 | 
														
															             >删除 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -342,6 +343,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-col :span="8"> 
														 | 
														
														 | 
														
															           <el-col :span="8"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <el-form-item label="存货编号" prop="fBscorpno"> 
														 | 
														
														 | 
														
															             <el-form-item label="存货编号" prop="fBscorpno"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-input 
														 | 
														
														 | 
														
															               <el-input 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                disabled 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 v-model="form.fBscorpno" 
														 | 
														
														 | 
														
															                 v-model="form.fBscorpno" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 style="width: 250px" 
														 | 
														
														 | 
														
															                 style="width: 250px" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 laceholder="存货编号" 
														 | 
														
														 | 
														
															                 laceholder="存货编号" 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1064,7 +1066,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <template slot-scope="scope"> 
														 | 
														
														 | 
														
															           <template slot-scope="scope"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <el-select 
														 | 
														
														 | 
														
															             <el-select 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               v-model="scope.row.fFeeUnitid" 
														 | 
														
														 | 
														
															               v-model="scope.row.fFeeUnitid" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              placeholder="请选择计费单位" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              placeholder="请选择计价单位" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               clearable 
														 | 
														
														 | 
														
															               clearable 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             > 
														 | 
														
														 | 
														
															             > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-option 
														 | 
														
														 | 
														
															               <el-option 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1272,7 +1274,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </template> 
														 | 
														
														 | 
														
															           </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-table-column> 
														 | 
														
														 | 
														
															         </el-table-column> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-table-column 
														 | 
														
														 | 
														
															         <el-table-column 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          prop="fFeeunitid" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          prop="fFeeUnitid" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           header-align="center" 
														 | 
														
														 | 
														
															           header-align="center" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           align="center" 
														 | 
														
														 | 
														
															           align="center" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           width="180px" 
														 | 
														
														 | 
														
															           width="180px" 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1280,16 +1282,18 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         > 
														 | 
														
														 | 
														
															         > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <template slot-scope="scope"> 
														 | 
														
														 | 
														
															           <template slot-scope="scope"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <el-select 
														 | 
														
														 | 
														
															             <el-select 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              v-model="scope.row.fFeeunitid" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              placeholder="请选择计费单位" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              clearable 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              v-model="scope.row.fFeeUnitid" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              filterable 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              remote 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              :remote-method="corpsRemoteMethod" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              placeholder="计价单位" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             > 
														 | 
														
														 | 
														
															             > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-option 
														 | 
														
														 | 
														
															               <el-option 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                v-for="dict in jFeetunitOptions" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                :key="dict.dictValue" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                v-for="(dict, index) in jFeetunitOptions" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                :key="index.dictValue" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 :label="dict.dictLabel" 
														 | 
														
														 | 
														
															                 :label="dict.dictLabel" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 :value="dict.dictValue" 
														 | 
														
														 | 
														
															                 :value="dict.dictValue" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              ></el-option> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </el-select> 
														 | 
														
														 | 
														
															             </el-select> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </template> 
														 | 
														
														 | 
														
															           </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-table-column> 
														 | 
														
														 | 
														
															         </el-table-column> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1439,7 +1443,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           @click="showEditDialog_s" 
														 | 
														
														 | 
														
															           @click="showEditDialog_s" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           >入库单 
														 | 
														
														 | 
														
															           >入库单 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-button> 
														 | 
														
														 | 
														
															         </el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <el-button type="primary" @click="submitForm">确 定</el-button> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-button type="primary" @click="submitForm(2)">暂 存</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-button type="primary" @click="submitForm(6)">提 交</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-button @click="cancel">取 消</el-button> 
														 | 
														
														 | 
														
															         <el-button @click="cancel">取 消</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-dialog 
														 | 
														
														 | 
														
															       <el-dialog 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1887,9 +1892,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fWarehouseid: [ 
														 | 
														
														 | 
														
															         fWarehouseid: [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           { required: true, message: "请选择仓库", trigger: "blur" }, 
														 | 
														
														 | 
														
															           { required: true, message: "请选择仓库", trigger: "blur" }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ], 
														 | 
														
														 | 
														
															         ], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fBscorpno: [ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          { required: true, message: "请输入存货编号", trigger: "blur" }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ], 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fbillingway: [ 
														 | 
														
														 | 
														
															         fbillingway: [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           { 
														 | 
														
														 | 
														
															           { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             required: true, 
														 | 
														
														 | 
														
															             required: true, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1915,7 +1917,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }); 
														 | 
														
														 | 
														
															     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     this.getDicts("data_unitfees").then((response) => { 
														 | 
														
														 | 
														
															     this.getDicts("data_unitfees").then((response) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.fFeetunitOptions = response.data; 
														 | 
														
														 | 
														
															       this.fFeetunitOptions = response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      this.jFeetunitOptions = response.data; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.jFeetunitOptions = JSON.parse(JSON.stringify(response.data)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }); 
														 | 
														
														 | 
														
															     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     this.getDicts("data_stltype_type").then((response) => { 
														 | 
														
														 | 
														
															     this.getDicts("data_stltype_type").then((response) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.fStltypeOptions = response.data; 
														 | 
														
														 | 
														
															       this.fStltypeOptions = response.data; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1964,23 +1966,27 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 添加list 
														 | 
														
														 | 
														
															     // 添加list 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     addRelevant() { 
														 | 
														
														 | 
														
															     addRelevant() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      let time = null 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      if (this.form.fBsdate) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        time = this.form.fBsdate 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.dataList.push({ 
														 | 
														
														 | 
														
															       this.dataList.push({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fbsdate: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fgoodsid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fcntrtype: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fBsdate: time, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fGoodsid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fCntrtype: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fCntqty: null, 
														 | 
														
														 | 
														
															         fCntqty: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fplangrossweight: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fplanvolumn: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fplanqty: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fgrossweight: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fqty: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fPlangrossweight: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fPlanvolumn: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fPlanqty: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fGrossweight: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fQty: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fPackagespecs: null, 
														 | 
														
														 | 
														
															         fPackagespecs: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fwarehouselocid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fWarehouselocid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fBoxno: null, 
														 | 
														
														 | 
														
															         fBoxno: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fGoodsval: null, 
														 | 
														
														 | 
														
															         fGoodsval: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ftruckno: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fTruckno: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         remark: null, 
														 | 
														
														 | 
														
															         remark: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 收货单打印界面 
														 | 
														
														 | 
														
															     // 收货单打印界面 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     showEditDialog_s() { 
														 | 
														
														 | 
														
															     showEditDialog_s() { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1992,11 +1998,11 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // 收款信息 
														 | 
														
														 | 
														
															     // 收款信息 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     addCollection() { 
														 | 
														
														 | 
														
															     addCollection() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.warehouseDrList.push({ 
														 | 
														
														 | 
														
															       this.warehouseDrList.push({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fcorpid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ffeeid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ffeeUnitid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fCorpid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fFeeid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fFeeUnitid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fQty: null, 
														 | 
														
														 | 
														
															         fQty: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        funitprice: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fUnitprice: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fAmount: null, 
														 | 
														
														 | 
														
															         fAmount: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fCurrency: null, 
														 | 
														
														 | 
														
															         fCurrency: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fCxrate: null, 
														 | 
														
														 | 
														
															         fCxrate: null, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -2006,17 +2012,17 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     addpayment() { 
														 | 
														
														 | 
														
															     addpayment() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.warehouseCrList.push({ 
														 | 
														
														 | 
														
															       this.warehouseCrList.push({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fcorpid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ffeeid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ffeeUnitid: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fCorpid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fFeeid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fFeeUnitid: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fQty: null, 
														 | 
														
														 | 
														
															         fQty: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        funitprice: null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        fUnitprice: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fAmount: null, 
														 | 
														
														 | 
														
															         fAmount: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fCurrency: null, 
														 | 
														
														 | 
														
															         fCurrency: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fCxrate: null, 
														 | 
														
														 | 
														
															         fCxrate: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         fRate: null, 
														 | 
														
														 | 
														
															         fRate: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         remarks: null, 
														 | 
														
														 | 
														
															         remarks: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     queryUser() { 
														 | 
														
														 | 
														
															     queryUser() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       queryUserVal().then((response) => { 
														 | 
														
														 | 
														
															       queryUserVal().then((response) => { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -2164,25 +2170,31 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.reset(); 
														 | 
														
														 | 
														
															       this.reset(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       const fId = row.fId || this.ids; 
														 | 
														
														 | 
														
															       const fId = row.fId || this.ids; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       getWarehousebills(fId).then((response) => { 
														 | 
														
														 | 
														
															       getWarehousebills(fId).then((response) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.form = response.data.warehousebills; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.fMblnoOptions = response.data.corps; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.KHblnoOptions = response.data.corps; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.fSbuOptions = response.data.corps; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.form = response.data.warehousebills 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.fMblnoOptions = response.data.corps 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.KHblnoOptions = response.data.corps 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.fSbuOptions = response.data.corps 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.fWbuOptions = response.data.feesList 
														 | 
														
														 | 
														
															         this.fWbuOptions = response.data.feesList 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.warehouseOptions = response.data.warehouse; 
														 | 
														
														 | 
														
															         this.warehouseOptions = response.data.warehouse; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.$set(this.form, 'fStltypeid', this.form.fStltypeid + '') 
														 | 
														
														 | 
														
															         this.$set(this.form, 'fStltypeid', this.form.fStltypeid + '') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.$set(this.form, 'fTrademodeid', this.form.fTrademodeid + '') 
														 | 
														
														 | 
														
															         this.$set(this.form, 'fTrademodeid', this.form.fTrademodeid + '') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.dataList = response.data.warehouseBillsItem; 
														 | 
														
														 | 
														
															         this.dataList = response.data.warehouseBillsItem; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         for (let list in this.dataList) { 
														 | 
														
														 | 
														
															         for (let list in this.dataList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.$set(this.dataList[list], 'fBsdate', this.dataList[list].fBsdate) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.$set(this.dataList[list], 'fBsdate', Date.parse(this.dataList[list].fBsdate)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.goodsOptions = response.data.goodsList 
														 | 
														
														 | 
														
															         this.goodsOptions = response.data.goodsList 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.kqhouseOptions = response.data.warehouseAreas 
														 | 
														
														 | 
														
															         this.kqhouseOptions = response.data.warehouseAreas 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.relevantAttachments = response.data.enclosures 
														 | 
														
														 | 
														
															         this.relevantAttachments = response.data.enclosures 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.warehouseDrList = response.data.warehousebillsfeesDr 
														 | 
														
														 | 
														
															         this.warehouseDrList = response.data.warehousebillsfeesDr 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for (let dr in this.warehouseDrList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.$set(this.warehouseDrList[dr], 'fFeeUnitid', this.warehouseDrList[dr].fFeeUnitid + "") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.warehouseCrList = response.data.warehousebillsfeesCr 
														 | 
														
														 | 
														
															         this.warehouseCrList = response.data.warehousebillsfeesCr 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for (let cr in this.warehouseCrList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.$set(this.warehouseCrList[cr], 'fFeeUnitid', this.warehouseCrList[cr].fFeeUnitid + "") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.userOptions = response.data.sysUser; 
														 | 
														
														 | 
														
															         this.userOptions = response.data.sysUser; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.$set(this.form, "fBsdate", Date.parse(response.data.warehousebills.fBsdate)) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.$set(this.form, "fBsdate", Date.parse(this.form.fBsdate)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.open = true; 
														 | 
														
														 | 
														
															         this.open = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.title = "修改仓库主(出入库)"; 
														 | 
														
														 | 
														
															         this.title = "修改仓库主(出入库)"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -2222,14 +2234,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 提交按钮 */ 
														 | 
														
														 | 
														
															     /** 提交按钮 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    submitForm() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      if ( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        typeof this.form.fBillstatus === "undefined" || 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.form.fBillstatus == null || this.dataList 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      ) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.form.fBillstatus = 6; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    submitForm(status) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$refs["form"].validate((valid) => { 
														 | 
														
														 | 
														
															       this.$refs["form"].validate((valid) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (this.dataList.length ===  0) { 
														 | 
														
														 | 
														
															         if (this.dataList.length ===  0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.$message.error('请添加库存明细!') 
														 | 
														
														 | 
														
															           this.$message.error('请添加库存明细!') 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -2252,63 +2257,65 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$message.error('请输入品名!') 
														 | 
														
														 | 
														
															             this.$message.error('请输入品名!') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return false 
														 | 
														
														 | 
														
															             return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for (let list in this.dataList) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if (!this.dataList[list].fWarehouselocid) { 
														 | 
														
														 | 
														
															           if (!this.dataList[list].fWarehouselocid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$message.error('请输入库区!') 
														 | 
														
														 | 
														
															             this.$message.error('请输入库区!') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return false 
														 | 
														
														 | 
														
															             return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for (let list in this.relevantAttachments) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if (this.relevantAttachments[list].fName === null) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for (let relevant in this.relevantAttachments) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.relevantAttachments[relevant].fName) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$message.error('请输入附件名称!') 
														 | 
														
														 | 
														
															             this.$message.error('请输入附件名称!') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return false 
														 | 
														
														 | 
														
															             return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for (let list in this.warehouseDrList) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if (!this.warehouseDrList[list].fCorpid) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for (let warehouseDr in this.warehouseDrList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.warehouseDrList[warehouseDr].fCorpid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$message.error('请选择客户名称') 
														 | 
														
														 | 
														
															             this.$message.error('请选择客户名称') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return false 
														 | 
														
														 | 
														
															             return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.warehouseDrList[warehouseDr].fFeeid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.$message.error('请选择费用名称') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.warehouseDrList[warehouseDr]) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.$message.error('请选择收款计费单位') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        for (let list in this.warehouseCrList) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if (!this.warehouseDrList[list].fCorpid) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        for (let warehouseCr in this.warehouseCrList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.warehouseCrList[warehouseCr].fCorpid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.$message.error('请选择客户名称') 
														 | 
														
														 | 
														
															             this.$message.error('请选择客户名称') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return false 
														 | 
														
														 | 
														
															             return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.warehouseCrList[warehouseCr].fFeeid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.$message.error('请选择费用名称') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          if (!this.warehouseCrList[warehouseCr].fFeeUnitid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.$message.error('请选择付款计费单位') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            return false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (valid) { 
														 | 
														
														 | 
														
															         if (valid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.form.fBillstatus = status; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           let formData = new window.FormData(); 
														 | 
														
														 | 
														
															           let formData = new window.FormData(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           // 附件数据 
														 | 
														
														 | 
														
															           // 附件数据 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          formData.append("tWarehouseBills", JSON.stringify(this.form)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          formData.append("tWarehouseBills", JSON.stringify(this.form)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // 库存明细 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          formData.append("tWarehousebillsitems", JSON.stringify(this.dataList)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           // 附件数据 
														 | 
														
														 | 
														
															           // 附件数据 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          formData.append( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            "tWhgenleg", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            JSON.stringify(this.relevantAttachments) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          // // 费用明细付款 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          formData.append( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            "tWarehousebillsfeesCr", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            JSON.stringify(this.warehouseCrList) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          // // 收款 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          formData.append( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            "tWarehousebillsfeesDr", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            JSON.stringify(this.warehouseDrList) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          // // 库存明细 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          formData.append( 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            "tWarehousebillsitems", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            JSON.stringify(this.dataList) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          formData.append("tWhgenleg", JSON.stringify(this.relevantAttachments)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // 费用明细付款 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          formData.append("tWarehousebillsfeesCr", JSON.stringify(this.warehouseCrList)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // 收款 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          formData.append("tWarehousebillsfeesDr", JSON.stringify(this.warehouseDrList)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           addWarehousebills(formData).then((response) => { 
														 | 
														
														 | 
														
															           addWarehousebills(formData).then((response) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.msgSuccess("新增成功"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.msgSuccess("提交成功"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.open = false; 
														 | 
														
														 | 
														
															             this.open = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.getList(); 
														 | 
														
														 | 
														
															             this.getList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 删除按钮操作 */ 
														 | 
														
														 | 
														
															     /** 删除按钮操作 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleDelete(row) { 
														 | 
														
														 | 
														
															     handleDelete(row) { 
														 |