|
@@ -21,7 +21,7 @@
|
|
|
@handleScan="handleScan"
|
|
@handleScan="handleScan"
|
|
|
></workOrderBom>
|
|
></workOrderBom>
|
|
|
|
|
|
|
|
- <jobBom
|
|
|
|
|
|
|
+ <!-- <jobBom
|
|
|
v-if="clientEnvironmentId == 2"
|
|
v-if="clientEnvironmentId == 2"
|
|
|
:item="objData"
|
|
:item="objData"
|
|
|
ref="jobRef"
|
|
ref="jobRef"
|
|
@@ -29,7 +29,7 @@
|
|
|
pType="job"
|
|
pType="job"
|
|
|
@penalize="penalize"
|
|
@penalize="penalize"
|
|
|
@modeNum="modeNum"
|
|
@modeNum="modeNum"
|
|
|
- ></jobBom>
|
|
|
|
|
|
|
+ ></jobBom> -->
|
|
|
|
|
|
|
|
<view class="select_box">
|
|
<view class="select_box">
|
|
|
<zxz-uni-data-select
|
|
<zxz-uni-data-select
|
|
@@ -316,7 +316,7 @@ export default {
|
|
|
|
|
|
|
|
let storageInfo = {
|
|
let storageInfo = {
|
|
|
inWarehouseSpecType:
|
|
inWarehouseSpecType:
|
|
|
- this.clientEnvironmentId !== 3 || this.clientEnvironmentId !== 2
|
|
|
|
|
|
|
+ this.clientEnvironmentId !== 3
|
|
|
? Number(this.inWarehouseSpecType)
|
|
? Number(this.inWarehouseSpecType)
|
|
|
: "",
|
|
: "",
|
|
|
warehouseId: this.warehouseId,
|
|
warehouseId: this.warehouseId,
|
|
@@ -325,29 +325,40 @@ export default {
|
|
|
this.clientEnvironmentId == 3 ? this.tgList : this.List,
|
|
this.clientEnvironmentId == 3 ? this.tgList : this.List,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- if (this.clientEnvironmentId == 2) {
|
|
|
|
|
- let num = "";
|
|
|
|
|
- if (
|
|
|
|
|
- this.objData.workReportInfo &&
|
|
|
|
|
- this.objData.workReportInfo?.formedNum
|
|
|
|
|
- ) {
|
|
|
|
|
- num = this.objData.workReportInfo.formedNum;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- storageInfo.packingReportList = [
|
|
|
|
|
- {
|
|
|
|
|
- code: this.objData.productCode,
|
|
|
|
|
- categoryId: categoryId,
|
|
|
|
|
- workOrderId: this.objData.workOrderId,
|
|
|
|
|
- rootCategoryLevelId: rootCategoryLevelId,
|
|
|
|
|
- totalQuantity: num,
|
|
|
|
|
- quantity: num,
|
|
|
|
|
- unit: this.objData.unit,
|
|
|
|
|
- packingNum: 1,
|
|
|
|
|
- taskId: -1,
|
|
|
|
|
- },
|
|
|
|
|
- ];
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // let storageInfo = {
|
|
|
|
|
+ // inWarehouseSpecType:
|
|
|
|
|
+ // this.clientEnvironmentId !== 3 || this.clientEnvironmentId !== 2
|
|
|
|
|
+ // ? Number(this.inWarehouseSpecType)
|
|
|
|
|
+ // : "",
|
|
|
|
|
+ // warehouseId: this.warehouseId,
|
|
|
|
|
+ // inWarehouseType: this.inWarehouseType,
|
|
|
|
|
+ // toWarehouseList:
|
|
|
|
|
+ // this.clientEnvironmentId == 3 ? this.tgList : this.List,
|
|
|
|
|
+ // };
|
|
|
|
|
+
|
|
|
|
|
+ // if (this.clientEnvironmentId == 2) {
|
|
|
|
|
+ // let num = "";
|
|
|
|
|
+ // if (
|
|
|
|
|
+ // this.objData.workReportInfo &&
|
|
|
|
|
+ // this.objData.workReportInfo?.formedNum
|
|
|
|
|
+ // ) {
|
|
|
|
|
+ // num = this.objData.workReportInfo.formedNum;
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // storageInfo.packingReportList = [
|
|
|
|
|
+ // {
|
|
|
|
|
+ // code: this.objData.productCode,
|
|
|
|
|
+ // categoryId: categoryId,
|
|
|
|
|
+ // workOrderId: this.objData.workOrderId,
|
|
|
|
|
+ // rootCategoryLevelId: rootCategoryLevelId,
|
|
|
|
|
+ // totalQuantity: num,
|
|
|
|
|
+ // quantity: num,
|
|
|
|
|
+ // unit: this.objData.unit,
|
|
|
|
|
+ // packingNum: 1,
|
|
|
|
|
+ // taskId: -1,
|
|
|
|
|
+ // },
|
|
|
|
|
+ // ];
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
this.objData["storageInfo"] = storageInfo;
|
|
this.objData["storageInfo"] = storageInfo;
|
|
|
|
|
|