|
@@ -278,7 +278,8 @@
|
|
<el-table-column label="司机名称" align="center" prop="fDriverName" />
|
|
<el-table-column label="司机名称" align="center" prop="fDriverName" />
|
|
<el-table-column label="司机电话" align="center" prop="fDriverTel" width="120"/>
|
|
<el-table-column label="司机电话" align="center" prop="fDriverTel" width="120"/>
|
|
<el-table-column label="司机身份证" align="center" prop="fDriverIdCar" width="180"/>
|
|
<el-table-column label="司机身份证" align="center" prop="fDriverIdCar" width="180"/>
|
|
- <el-table-column label="业务类别" align="center" prop="fBusinessType" :formatter="fBusinessTypeFormat"/>
|
|
|
|
|
|
+ <el-table-column label="业务类别" align="center" prop="fBusinessType"
|
|
|
|
+ :formatter="fBusinessTypeFormat"/>
|
|
<el-table-column
|
|
<el-table-column
|
|
width="100"
|
|
width="100"
|
|
label="入库状态"
|
|
label="入库状态"
|
|
@@ -362,6 +363,8 @@
|
|
:limit.sync="queryParams.pageSize"
|
|
:limit.sync="queryParams.pageSize"
|
|
@pagination="getList"
|
|
@pagination="getList"
|
|
/>
|
|
/>
|
|
|
|
+
|
|
|
|
+
|
|
<!-- 新增或修改仓库主(出入库)对话框 -->
|
|
<!-- 新增或修改仓库主(出入库)对话框 -->
|
|
<el-dialog
|
|
<el-dialog
|
|
:visible.sync="open"
|
|
:visible.sync="open"
|
|
@@ -460,7 +463,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
- <el-form-item label="仓1库" prop="fWarehouseid">
|
|
|
|
|
|
+ <el-form-item label="仓库" prop="fWarehouseid">
|
|
<el-select
|
|
<el-select
|
|
v-model="form.fWarehouseid"
|
|
v-model="form.fWarehouseid"
|
|
filterable
|
|
filterable
|
|
@@ -1133,7 +1136,7 @@
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="fWarehouseInformation"
|
|
prop="fWarehouseInformation"
|
|
header-align="center"
|
|
header-align="center"
|
|
- width="140px"
|
|
|
|
|
|
+ width="240px"
|
|
align="center"
|
|
align="center"
|
|
label="*库区"
|
|
label="*库区"
|
|
>
|
|
>
|
|
@@ -1147,29 +1150,7 @@
|
|
</el-input>
|
|
</el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
-<!-- <treeselect v-model="fWarehouselocid" :options="warehousesOptions" :show-count="true" placeholder="请选择归属库区" />-->
|
|
|
|
|
|
|
|
-<!-- <el-select-->
|
|
|
|
-<!-- v-model="scope.row.fWarehouselocid"-->
|
|
|
|
-<!-- filterable-->
|
|
|
|
-<!-- remote-->
|
|
|
|
-<!-- :disabled="-->
|
|
|
|
-<!-- browseStatus ||-->
|
|
|
|
-<!-- scope.row.fBillstatus === 20 ||-->
|
|
|
|
-<!-- scope.row.fBillstatus === 30 ||-->
|
|
|
|
-<!-- scope.row.fBillstatus === 40-->
|
|
|
|
-<!-- "-->
|
|
|
|
-<!-- placeholder="请选择库位"-->
|
|
|
|
-<!-- >-->
|
|
|
|
-<!-- <el-option-->
|
|
|
|
-<!-- v-for="(dict, index) in kqhouseOptions"-->
|
|
|
|
-<!-- :key="index.fId"-->
|
|
|
|
-<!-- :label="dict.fName"-->
|
|
|
|
-<!-- :value="dict.fId"-->
|
|
|
|
-<!-- ></el-option>-->
|
|
|
|
-<!-- </el-select>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="fcntrtype"
|
|
prop="fcntrtype"
|
|
header-align="center"
|
|
header-align="center"
|
|
@@ -1704,6 +1685,27 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ prop="fBusinessType"
|
|
|
|
+ header-align="center"
|
|
|
|
+ align="center"
|
|
|
|
+ width="180px"
|
|
|
|
+ label="作业类型"
|
|
|
|
+ >
|
|
|
|
+ <el-select
|
|
|
|
+ style="width: 80%"
|
|
|
|
+ v-model="warehouseDrList.fBusinessType"
|
|
|
|
+ filterable
|
|
|
|
+ disabled
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="(dict,index) in businessTypeOption"
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
prop="fFeeUnitid"
|
|
prop="fFeeUnitid"
|
|
header-align="center"
|
|
header-align="center"
|
|
align="center"
|
|
align="center"
|
|
@@ -1788,7 +1790,9 @@
|
|
label="结算方式"
|
|
label="结算方式"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-select v-model="scope.row.fStltypeid" style="width: 250px" placeholder="请选择结算表票结、月结">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="scope.row.fStltypeid"
|
|
|
|
+ placeholder="请选择结算表票结、月结">
|
|
<el-option
|
|
<el-option
|
|
v-for="dict in fStltypeidOptions"
|
|
v-for="dict in fStltypeidOptions"
|
|
:key="dict.dictValue"
|
|
:key="dict.dictValue"
|
|
@@ -2931,6 +2935,8 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ information:'',
|
|
|
|
+ informationId:'',
|
|
inDex:'',
|
|
inDex:'',
|
|
Warehouse:'',
|
|
Warehouse:'',
|
|
treeselectList:{
|
|
treeselectList:{
|
|
@@ -3275,31 +3281,24 @@ export default {
|
|
},
|
|
},
|
|
/** 查询部门下拉树结构 */
|
|
/** 查询部门下拉树结构 */
|
|
getTreeselect(row) {
|
|
getTreeselect(row) {
|
|
- console.log(row)
|
|
|
|
this.treeselectList.fWarehouselocid = null
|
|
this.treeselectList.fWarehouselocid = null
|
|
this.inDex = row.$index
|
|
this.inDex = row.$index
|
|
this.choiceWarehouse = true
|
|
this.choiceWarehouse = true
|
|
treeselect(this.form.fWarehouseid).then(response => {
|
|
treeselect(this.form.fWarehouseid).then(response => {
|
|
- console.log(response)
|
|
|
|
this.fWarehouseidOptions = response.data;
|
|
this.fWarehouseidOptions = response.data;
|
|
- console.log(this.fWarehouseidOptions)
|
|
|
|
- // console.log(this.dataList.fWarehouseid)
|
|
|
|
-
|
|
|
|
})
|
|
})
|
|
|
|
+ this.Warehouse = this.dataList[this.inDex].fWarehouseInformation
|
|
},
|
|
},
|
|
getAlltree(tree){
|
|
getAlltree(tree){
|
|
- console.log(tree.id)
|
|
|
|
- console.log(this.dataList)
|
|
|
|
- this.$set(this.dataList[this.inDex], 'fWarehouseInformation', tree.fWarehouseInformation)
|
|
|
|
- this.$set(this.dataList[this.inDex], 'fWarehouselocid', tree.id)
|
|
|
|
- this.Warehouse = tree.fWarehouseInformation
|
|
|
|
- console.log(this.dataList[this.inDex])
|
|
|
|
- console.log(this.dataList[this.inDex].fWarehouseInformation)
|
|
|
|
- console.log(this.dataList)
|
|
|
|
|
|
+ this.information = tree.fWarehouseInformation
|
|
|
|
+ this.informationId = tree.id
|
|
|
|
+ // this.$set(this.dataList[this.inDex], 'fWarehouseInformation', tree.fWarehouseInformation)
|
|
|
|
+ // this.$set(this.dataList[this.inDex], 'fWarehouselocid', tree.id)
|
|
},
|
|
},
|
|
confirm(){
|
|
confirm(){
|
|
|
|
+ this.$set(this.dataList[this.inDex], 'fWarehouseInformation', this.information)
|
|
|
|
+ this.$set(this.dataList[this.inDex], 'fWarehouselocid', this.informationId)
|
|
this.choiceWarehouse = false
|
|
this.choiceWarehouse = false
|
|
- // console.log(this.dataList[0].fWarehouseid)
|
|
|
|
},
|
|
},
|
|
// 出库件数的计算
|
|
// 出库件数的计算
|
|
qtyChange(row) {
|
|
qtyChange(row) {
|
|
@@ -3761,8 +3760,10 @@ export default {
|
|
remarks: null,
|
|
remarks: null,
|
|
fMblno:this.form.fMblno,
|
|
fMblno:this.form.fMblno,
|
|
fProductName:this.form.fProductName,
|
|
fProductName:this.form.fProductName,
|
|
- fMarks:this.form.fMarks
|
|
|
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
|
+ fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
});
|
|
});
|
|
|
|
+ console.log(this.warehouseDrList)
|
|
},
|
|
},
|
|
addpayment() {
|
|
addpayment() {
|
|
this.warehouseCrList.push({
|
|
this.warehouseCrList.push({
|
|
@@ -3919,12 +3920,15 @@ export default {
|
|
fTaxrate: this.fTaxrate,
|
|
fTaxrate: this.fTaxrate,
|
|
fMblno:this.form.fMblno,
|
|
fMblno:this.form.fMblno,
|
|
fProductName:this.form.fProductName,
|
|
fProductName:this.form.fProductName,
|
|
- fMarks:this.form.fMarks
|
|
|
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
|
+ fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
});
|
|
});
|
|
}
|
|
}
|
|
for (let list in this.warehouseDrList) {
|
|
for (let list in this.warehouseDrList) {
|
|
if (this.warehouseDrList[list].fFeeUnitid === "1") {
|
|
if (this.warehouseDrList[list].fFeeUnitid === "1") {
|
|
this.$set(this.warehouseDrList[list], "fQty", this.fQty.toFixed(2));
|
|
this.$set(this.warehouseDrList[list], "fQty", this.fQty.toFixed(2));
|
|
|
|
+ console.log("111111433543")
|
|
|
|
+ return
|
|
} else if (this.warehouseDrList[list].fFeeUnitid === "2") {
|
|
} else if (this.warehouseDrList[list].fFeeUnitid === "2") {
|
|
this.$set(this.warehouseDrList[list], "fQty", (this.fGrossweight/1000).toFixed(2));
|
|
this.$set(this.warehouseDrList[list], "fQty", (this.fGrossweight/1000).toFixed(2));
|
|
} else if (this.warehouseDrList[list].fFeeUnitid === "3") {
|
|
} else if (this.warehouseDrList[list].fFeeUnitid === "3") {
|
|
@@ -3932,8 +3936,7 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.$set(this.warehouseDrList[list], "fQty", 0);
|
|
this.$set(this.warehouseDrList[list], "fQty", 0);
|
|
}
|
|
}
|
|
- this.$set(this.warehouseDrList[list], "fAmount", (Number(this.warehouseDrList[list].fUnitprice) * Number(this.warehouseDrList[list].fQty)).toFixed(2)
|
|
|
|
- );
|
|
|
|
|
|
+ this.$set(this.warehouseDrList[list], "fAmount", (Number(this.warehouseDrList[list].fUnitprice) * Number(this.warehouseDrList[list].fQty)).toFixed(2));
|
|
}
|
|
}
|
|
this.warehousingagreement = false;
|
|
this.warehousingagreement = false;
|
|
}
|
|
}
|
|
@@ -3960,7 +3963,8 @@ export default {
|
|
fTaxrate: this.fTaxrate,
|
|
fTaxrate: this.fTaxrate,
|
|
fMblno:this.form.fMblno,
|
|
fMblno:this.form.fMblno,
|
|
fProductName:this.form.fProductName,
|
|
fProductName:this.form.fProductName,
|
|
- fMarks:this.form.fMarks
|
|
|
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
|
+ fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
});
|
|
});
|
|
}
|
|
}
|
|
for (let list in this.warehouseCrList) {
|
|
for (let list in this.warehouseCrList) {
|
|
@@ -4180,7 +4184,7 @@ export default {
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|
|
handleUpdate(row, status) {
|
|
handleUpdate(row, status) {
|
|
this.reset();
|
|
this.reset();
|
|
- // this.contrOl = false
|
|
|
|
|
|
+ this.contrOl = true
|
|
// if (this.dataList.length === 0){
|
|
// if (this.dataList.length === 0){
|
|
//
|
|
//
|
|
// }
|
|
// }
|