|
@@ -28,6 +28,14 @@
|
|
|
clearable
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input
|
|
|
+ v-model="wareHouse"
|
|
|
+ style="width:200px"
|
|
|
+ placeholder="输入装货地点"
|
|
|
+ clearable
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-input
|
|
|
v-model="inputMaterial"
|
|
@@ -151,7 +159,8 @@ export default {
|
|
|
totalCapacity: 0,
|
|
|
tableTitle: "销售统计报表",
|
|
|
inputMaterial: null,
|
|
|
- inputReceiveName: null
|
|
|
+ inputReceiveName: null,
|
|
|
+ wareHouse:null
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -310,7 +319,9 @@ export default {
|
|
|
"&receiveName=" +
|
|
|
this.inputReceiveName +
|
|
|
"&materialName=" +
|
|
|
- this.inputMaterial;
|
|
|
+ this.inputMaterial
|
|
|
+ +"&wareHouse="+
|
|
|
+ this.wareHouse;
|
|
|
} else {
|
|
|
this.option.requestUrl =
|
|
|
"/api/v1/tms/getAllSaleReport?apiId=423&startTime=" +
|
|
@@ -325,7 +336,9 @@ export default {
|
|
|
"&receiveName=" +
|
|
|
this.inputReceiveName +
|
|
|
"&materialName=" +
|
|
|
- this.inputMaterial;
|
|
|
+ this.inputMaterial
|
|
|
+ +"&wareHouse="+
|
|
|
+ this.wareHouse;
|
|
|
}
|
|
|
} else {
|
|
|
if (this.startTime) {
|
|
@@ -348,7 +361,8 @@ export default {
|
|
|
"&receiveName=" +
|
|
|
this.inputReceiveName +
|
|
|
"&materialName=" +
|
|
|
- this.inputMaterial;
|
|
|
+ this.inputMaterial +"&wareHouse="+
|
|
|
+ this.wareHouse;
|
|
|
} else {
|
|
|
this.option.requestUrl =
|
|
|
"/api/v1/tms/getAllSaleReport?apiId=423&startTime=" +
|
|
@@ -363,7 +377,8 @@ export default {
|
|
|
"&receiveName=" +
|
|
|
this.inputReceiveName +
|
|
|
"&materialName=" +
|
|
|
- this.inputMaterial;
|
|
|
+ this.inputMaterial +"&wareHouse="+
|
|
|
+ this.wareHouse;
|
|
|
}
|
|
|
}
|
|
|
},
|