|
@@ -355,6 +355,7 @@
|
|
|
@close='addCloseDialog'
|
|
|
width="80%"
|
|
|
append-to-body
|
|
|
+
|
|
|
>
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
|
<el-row>
|
|
@@ -617,7 +618,7 @@
|
|
|
placeholder="请输入劳务公司"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(dict, index) in flabourOptions"
|
|
|
+ v-for="(dict, index) in fCompanyOptIons"
|
|
|
:key="index.fId"
|
|
|
:label="dict.fName"
|
|
|
:value="dict.fId"
|
|
@@ -2727,7 +2728,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- flabourOptions:[],
|
|
|
+ // 劳务公司
|
|
|
+ fCompanyOptIons: [],
|
|
|
fleetOptions:[],
|
|
|
activeIndex: '1',
|
|
|
activeIndex2: '1',
|
|
@@ -3011,8 +3013,11 @@ export default {
|
|
|
this.getDicts("st_out_type").then((response) => {
|
|
|
this.businessTypeOption = response.data;
|
|
|
});
|
|
|
- this.getDicts("data_stltype_type").then(response => {
|
|
|
- this.fStltypeidOptions = response.data;
|
|
|
+ this.getDicts("data_customer_category").then(response => {
|
|
|
+ this.fCompanyOptIons = response.data;
|
|
|
+ });
|
|
|
+ this.getDicts("data_customer_category").then(response => {
|
|
|
+ this.fleetOptions = response.data;
|
|
|
});
|
|
|
},
|
|
|
activated() {
|
|
@@ -3103,7 +3108,7 @@ export default {
|
|
|
if (response.data.corps) {
|
|
|
this.fMblnoOptions = response.data.corps;
|
|
|
this.KHblnoOptions = response.data.corps;
|
|
|
- this.fSbuOptions = response.data.corps;
|
|
|
+ this.fCompanyOptIons = response.data.corps;
|
|
|
}
|
|
|
if (response.data.feesList) {
|
|
|
this.fWbuOptions = response.data.feesList;
|
|
@@ -3722,6 +3727,15 @@ export default {
|
|
|
},
|
|
|
/** 查询仓库主(出入库)列表 */
|
|
|
getList() {
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fTypeid: 6}
|
|
|
+ listCorps(queryParams).then((response) => {
|
|
|
+ this.fCompanyOptIons = response.rows;
|
|
|
+ });
|
|
|
+ let params = { pageNum: 1, pageSize: 10, fTypeid: 2}
|
|
|
+ listCorps(params).then((response) => {
|
|
|
+ console.log(response)
|
|
|
+ this.fleetOptions = response.rows;
|
|
|
+ });
|
|
|
this.loading = true;
|
|
|
listWarehousebills(this.queryParams).then((response) => {
|
|
|
this.warehousebillsList = response.rows;
|
|
@@ -3900,8 +3914,13 @@ export default {
|
|
|
this.contrOl = status
|
|
|
this.detailsHidden = false;
|
|
|
this.formBrowseStatus = false;
|
|
|
- const fId = row.fId || this.ids;
|
|
|
+ let fId = row.fId || this.ids;
|
|
|
this.dataList = [];
|
|
|
+ this.goodsRemoteMethod()
|
|
|
+ console.log(fId)
|
|
|
+ if (fId.length === 1){
|
|
|
+ fId = fId[0].fId
|
|
|
+ }
|
|
|
getWarehousebills(fId).then((response) => {
|
|
|
if (response.data.warehousebills) {
|
|
|
this.form = response.data.warehousebills;
|
|
@@ -3934,7 +3953,7 @@ export default {
|
|
|
this.fMblnoOptions = response.data.corps;
|
|
|
this.KHblnoOptions = response.data.corps;
|
|
|
this.fleetOptions = response.data.corps;
|
|
|
- this.fSbuOptions = response.data.corps;
|
|
|
+ this.fCompanyOptIons = response.rows;
|
|
|
}
|
|
|
if (response.data.feesList) {
|
|
|
this.fWbuOptions = response.data.feesList;
|
|
@@ -4680,7 +4699,7 @@ export default {
|
|
|
}
|
|
|
let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 6 };
|
|
|
listCorps(queryParams).then((response) => {
|
|
|
- this.flabourOptions = response.rows;
|
|
|
+ this.fCompanyOptIons = response.rows;
|
|
|
});
|
|
|
},
|
|
|
/* 远程模糊查询车队 */
|
|
@@ -4743,6 +4762,13 @@ export default {
|
|
|
this.warehouseOptions = response.rows;
|
|
|
});
|
|
|
},
|
|
|
+ /* 弹窗获取所有商品信息 */
|
|
|
+ goodsRemoteMethod() {
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fStatus: 0, delFlag: 0 };
|
|
|
+ listGoods(queryParams).then((response) => {
|
|
|
+ this.goodsOptions = response.rows;
|
|
|
+ });
|
|
|
+ },
|
|
|
/* 获取所有仓库信息 */
|
|
|
warehousesssMethod() {
|
|
|
let queryParams = { pageNum: 1, pageSize: 10, fStatus: 0, delFlag: 0 };
|