|
@@ -446,7 +446,7 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="仓库" prop="fWarehouseid">
|
|
<el-form-item label="仓库" prop="fWarehouseid">
|
|
|
- <treeselect style="width:80%" v-model="form.fWarehouseid" :options="warehousesOptions" :show-count="true" placeholder="请选择归属库区" />
|
|
|
|
|
|
|
+ <treeselect :disabled="browseStatus" style="width:80%" v-model="form.fWarehouseid" :options="warehousesOptions" :show-count="true" placeholder="请选择归属库区" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -586,35 +586,51 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="劳务公司" prop="labour" :rules="{
|
|
|
|
|
|
|
+ <el-form-item label="劳务公司" prop="fLabour" :rules="{
|
|
|
required: isrequired_l === 1 ? true : false,
|
|
required: isrequired_l === 1 ? true : false,
|
|
|
message: '请选择',
|
|
message: '请选择',
|
|
|
trigger: ['blur', 'change']
|
|
trigger: ['blur', 'change']
|
|
|
}">
|
|
}">
|
|
|
- <el-input
|
|
|
|
|
|
|
+ <el-select
|
|
|
style="width: 80%"
|
|
style="width: 80%"
|
|
|
- v-model="form.labour"
|
|
|
|
|
-
|
|
|
|
|
|
|
+ v-model="form.fLabour"
|
|
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
|
|
+ :remote-method="flabourRemoteMethod"
|
|
|
:disabled="browseStatus"
|
|
:disabled="browseStatus"
|
|
|
placeholder="请输入劳务公司"
|
|
placeholder="请输入劳务公司"
|
|
|
- />
|
|
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="(dict, index) in fMblnoOptions"
|
|
|
|
|
+ :key="index.fId"
|
|
|
|
|
+ :label="dict.fName"
|
|
|
|
|
+ :value="dict.fId"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="车队" prop="fleet"
|
|
|
|
|
|
|
+ <el-form-item label="车队" prop="fFleet"
|
|
|
:rules="{
|
|
:rules="{
|
|
|
required: isrequired === 1 ? true : false,
|
|
required: isrequired === 1 ? true : false,
|
|
|
message: '请选择',
|
|
message: '请选择',
|
|
|
trigger: ['blur', 'change']
|
|
trigger: ['blur', 'change']
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
- <el-input
|
|
|
|
|
|
|
+ <el-select
|
|
|
style="width: 80%"
|
|
style="width: 80%"
|
|
|
- v-model="form.fleet"
|
|
|
|
|
-
|
|
|
|
|
|
|
+ v-model="form.fFleet"
|
|
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
|
|
+ :remote-method="fleetRemoteMethod"
|
|
|
:disabled="browseStatus"
|
|
:disabled="browseStatus"
|
|
|
placeholder="请输入车队"
|
|
placeholder="请输入车队"
|
|
|
- />
|
|
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="(dict, index) in fMblnoOptions"
|
|
|
|
|
+ :key="index.fId"
|
|
|
|
|
+ :label="dict.fName"
|
|
|
|
|
+ :value="dict.fId"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -860,7 +876,7 @@
|
|
|
header-align="center"
|
|
header-align="center"
|
|
|
align="center"
|
|
align="center"
|
|
|
width="150px"
|
|
width="150px"
|
|
|
- label="入库日期"
|
|
|
|
|
|
|
+ label="出库日期"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
@@ -2580,7 +2596,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
// 部门树选项
|
|
// 部门树选项
|
|
|
- warehousesOptions: undefined,
|
|
|
|
|
|
|
+ warehousesOptions: [],
|
|
|
//控制作业类型校验
|
|
//控制作业类型校验
|
|
|
isrequired:2,
|
|
isrequired:2,
|
|
|
isrequired_s:2,
|
|
isrequired_s:2,
|
|
@@ -3275,6 +3291,7 @@ export default {
|
|
|
// }
|
|
// }
|
|
|
// }
|
|
// }
|
|
|
this.dataList.push({
|
|
this.dataList.push({
|
|
|
|
|
+ fBsdate: this.form.fBsdate,
|
|
|
fId: null,
|
|
fId: null,
|
|
|
fMblno: this.dialogWhgenlegList[whgen].fMblno,
|
|
fMblno: this.dialogWhgenlegList[whgen].fMblno,
|
|
|
fGoodsid: this.dialogWhgenlegList[whgen].fGoodsid,
|
|
fGoodsid: this.dialogWhgenlegList[whgen].fGoodsid,
|
|
@@ -3704,6 +3721,9 @@ export default {
|
|
|
this.formBrowseStatus = true;
|
|
this.formBrowseStatus = true;
|
|
|
this.$set(this.dataList[list], "fBusinessType", this.dataList[list].fBusinessType + '')
|
|
this.$set(this.dataList[list], "fBusinessType", this.dataList[list].fBusinessType + '')
|
|
|
}
|
|
}
|
|
|
|
|
+ if(this.dataList[list].fBillstatus === 40){
|
|
|
|
|
+ this.contrOl = true
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (response.data.corps) {
|
|
if (response.data.corps) {
|
|
@@ -4008,6 +4028,7 @@ export default {
|
|
|
for (let i in this.dataList) {
|
|
for (let i in this.dataList) {
|
|
|
if (listSelection[li].fId === this.dataList[i].fId) {
|
|
if (listSelection[li].fId === this.dataList[i].fId) {
|
|
|
this.$set(this.dataList[i], "fBillstatus", 40);
|
|
this.$set(this.dataList[i], "fBillstatus", 40);
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -4250,7 +4271,7 @@ export default {
|
|
|
this.$set(this.form, 'fBusinessType', Date.parse(this.form.fChargedate))
|
|
this.$set(this.form, 'fBusinessType', Date.parse(this.form.fChargedate))
|
|
|
this.dataList = response.data.warehousebillsitems
|
|
this.dataList = response.data.warehousebillsitems
|
|
|
for (let list in this.dataList) {
|
|
for (let list in this.dataList) {
|
|
|
- // this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|
|
|
|
|
|
|
+ this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|
|
|
this.$set(this.dataList[list], "fBusinessType", this.dataList[list].fBusinessType + '');
|
|
this.$set(this.dataList[list], "fBusinessType", this.dataList[list].fBusinessType + '');
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -4446,6 +4467,26 @@ export default {
|
|
|
this.KHblnoOptions = response.rows;
|
|
this.KHblnoOptions = response.rows;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
|
|
+ /* 远程模糊查询劳务公司 */
|
|
|
|
|
+ flabourRemoteMethod(name) {
|
|
|
|
|
+ if (name == null || name === "") {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 6 };
|
|
|
|
|
+ listCorps(queryParams).then((response) => {
|
|
|
|
|
+ this.fSbuOptions = response.rows;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ /* 远程模糊查询车队 */
|
|
|
|
|
+ fleetRemoteMethod(name) {
|
|
|
|
|
+ if (name == null || name === "") {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 2 };
|
|
|
|
|
+ listCorps(queryParams).then((response) => {
|
|
|
|
|
+ this.fSbuOptions = response.rows;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
/* 远程模糊查询商品 */
|
|
/* 远程模糊查询商品 */
|
|
|
goodsRemoteMethod(name) {
|
|
goodsRemoteMethod(name) {
|
|
|
if (name == null || name === "") {
|
|
if (name == null || name === "") {
|
|
@@ -4553,4 +4594,12 @@ export default {
|
|
|
.el-form-item__label {
|
|
.el-form-item__label {
|
|
|
font-size: 12px !important;
|
|
font-size: 12px !important;
|
|
|
}
|
|
}
|
|
|
|
|
+.el-collapse-item__header{
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: bolder;
|
|
|
|
|
+ padding-left: 5px;
|
|
|
|
|
+}
|
|
|
|
|
+.el-icon-s-home,.el-icon-s-order,.el-icon-circle-plus,.el-icon-remove{
|
|
|
|
|
+ padding-right: 5px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|