|
@@ -1693,19 +1693,21 @@
|
|
width="180px"
|
|
width="180px"
|
|
label="作业类型"
|
|
label="作业类型"
|
|
>
|
|
>
|
|
- <el-select
|
|
|
|
- style="width: 80%"
|
|
|
|
- v-model="warehouseDrList.fBusinessType"
|
|
|
|
- filterable
|
|
|
|
- disabled
|
|
|
|
- >
|
|
|
|
- <el-option
|
|
|
|
- v-for="(dict) in businessTypeOption"
|
|
|
|
- :key="dict.dictValue"
|
|
|
|
- :label="dict.dictLabel"
|
|
|
|
- :value="dict.dictValue"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-select
|
|
|
|
+ style="width: 80%"
|
|
|
|
+ v-model="scope.row.fBusinessType"
|
|
|
|
+ filterable
|
|
|
|
+ disabled
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="(dict) in businessTypeOption"
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="fFeeUnitid"
|
|
prop="fFeeUnitid"
|
|
@@ -2034,19 +2036,21 @@
|
|
width="180px"
|
|
width="180px"
|
|
label="作业类型"
|
|
label="作业类型"
|
|
>
|
|
>
|
|
- <el-select
|
|
|
|
- style="width: 80%"
|
|
|
|
- v-model="warehouseDrList.fBusinessType"
|
|
|
|
- filterable
|
|
|
|
- disabled
|
|
|
|
- >
|
|
|
|
- <el-option
|
|
|
|
- v-for="(dict) in businessTypeOption"
|
|
|
|
- :key="dict.dictValue"
|
|
|
|
- :label="dict.dictLabel"
|
|
|
|
- :value="dict.dictValue"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-select
|
|
|
|
+ style="width: 80%"
|
|
|
|
+ v-model="scope.row.fBusinessType"
|
|
|
|
+ filterable
|
|
|
|
+ disabled
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="(dict) in businessTypeOption"
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -2486,7 +2490,7 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!-- 选择作业费协议数据 -->
|
|
<!-- 选择作业费协议数据 -->
|
|
<el-dialog
|
|
<el-dialog
|
|
- title="作业费协1议"
|
|
|
|
|
|
+ title="作业费协议"
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
:modal="false"
|
|
:modal="false"
|
|
style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
|
|
style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
|
|
@@ -2564,7 +2568,7 @@
|
|
@pagination="getWhgenlegList"
|
|
@pagination="getWhgenlegList"
|
|
/>
|
|
/>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
- <el-button type="primary" @click="zhgenlegData">导入</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="zhgenlegData">导 入</el-button>
|
|
<el-button @click="warehousingagreements = false ; Navigation = false">取 消</el-button>
|
|
<el-button @click="warehousingagreements = false ; Navigation = false">取 消</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -2999,6 +3003,7 @@ export default {
|
|
doNot:false,
|
|
doNot:false,
|
|
// 修改查看状态
|
|
// 修改查看状态
|
|
browseStatus: false,
|
|
browseStatus: false,
|
|
|
|
+ key_id:'',
|
|
contrOl:false,
|
|
contrOl:false,
|
|
// 审批状态控制
|
|
// 审批状态控制
|
|
approvalStatus: false,
|
|
approvalStatus: false,
|
|
@@ -3903,11 +3908,10 @@ export default {
|
|
},
|
|
},
|
|
// 查询作业费信息
|
|
// 查询作业费信息
|
|
getWhgenlegList(kye) {
|
|
getWhgenlegList(kye) {
|
|
- // this.queryParams.fCorpid = this.form.fCorpid;
|
|
|
|
- // this.queryParams.fLineno = this.form.fCorpid;
|
|
|
|
let data = {}
|
|
let data = {}
|
|
let fTaskType = kye
|
|
let fTaskType = kye
|
|
if (kye == 2){
|
|
if (kye == 2){
|
|
|
|
+ this.key_id = kye
|
|
this.Navigation = true
|
|
this.Navigation = true
|
|
data = {
|
|
data = {
|
|
pageNum:1,
|
|
pageNum:1,
|
|
@@ -3916,6 +3920,7 @@ export default {
|
|
fLabour:this.form.fLabour
|
|
fLabour:this.form.fLabour
|
|
}
|
|
}
|
|
}else if (kye == 1) {
|
|
}else if (kye == 1) {
|
|
|
|
+ this.key_id = kye
|
|
this.Navigation = true
|
|
this.Navigation = true
|
|
data = {
|
|
data = {
|
|
pageNum:1,
|
|
pageNum:1,
|
|
@@ -3926,6 +3931,7 @@ export default {
|
|
}
|
|
}
|
|
}else {
|
|
}else {
|
|
this.Navigation = false
|
|
this.Navigation = false
|
|
|
|
+ this.key_id = kye
|
|
data = {
|
|
data = {
|
|
pageNum:1,
|
|
pageNum:1,
|
|
pageSize:10,
|
|
pageSize:10,
|
|
@@ -4064,6 +4070,7 @@ export default {
|
|
for (let zhgen in this.dialogWhgenlegList) {
|
|
for (let zhgen in this.dialogWhgenlegList) {
|
|
let feeId = this.dialogWhgenlegList[zhgen].feeFId;
|
|
let feeId = this.dialogWhgenlegList[zhgen].feeFId;
|
|
getFees(feeId).then((response) => {
|
|
getFees(feeId).then((response) => {
|
|
|
|
+ console.log(response)
|
|
this.fWbuOptions.push(response.data);
|
|
this.fWbuOptions.push(response.data);
|
|
});
|
|
});
|
|
let qty = 1;
|
|
let qty = 1;
|
|
@@ -4079,21 +4086,43 @@ export default {
|
|
// qty=(qty/1000).toFixed(2);
|
|
// qty=(qty/1000).toFixed(2);
|
|
let fAmount = parseFloat(Number(this.dialogWhgenlegList[zhgen].fPrice) * Number(qty)).toFixed(2)
|
|
let fAmount = parseFloat(Number(this.dialogWhgenlegList[zhgen].fPrice) * Number(qty)).toFixed(2)
|
|
|
|
|
|
- this.warehouseCrList.push({
|
|
|
|
- fQty: qty,
|
|
|
|
- fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
|
- fFeeid: feeId,
|
|
|
|
- fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
|
- fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
|
- fCurrency: 'RMB',
|
|
|
|
- fExrate: 1,
|
|
|
|
- fAmount: fAmount,
|
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
|
- fMblno:this.form.fMblno,
|
|
|
|
- fProductName:this.form.fProductName,
|
|
|
|
- fMarks:this.form.fMarks,
|
|
|
|
- fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
|
|
+ if(this.key_id == 3){
|
|
|
|
+ console.log("111")
|
|
|
|
+ this.warehouseDrList.push({
|
|
|
|
+ fQty: qty,
|
|
|
|
+ fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
|
+ fFeeid: feeId,
|
|
|
|
+ fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
|
+ fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
|
+ fCurrency: 'RMB',
|
|
|
|
+ fExrate: 1,
|
|
|
|
+ fAmount: fAmount,
|
|
|
|
+ fTaxrate: this.fTaxrate,
|
|
|
|
+ fMblno:this.form.fMblno,
|
|
|
|
+ fProductName:this.form.fProductName,
|
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
|
+ fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
|
|
|
|
+ })
|
|
|
|
+ }else{
|
|
|
|
+ this.warehouseCrList.push({
|
|
|
|
+ fQty: qty,
|
|
|
|
+ fCorpid: this.dialogWhgenlegList[zhgen].fCorpid,
|
|
|
|
+ fFeeid: feeId,
|
|
|
|
+ fFeeunitid: this.dialogWhgenlegList[zhgen].fFeeUnitid + '',
|
|
|
|
+ fUnitprice: this.dialogWhgenlegList[zhgen].fPrice,
|
|
|
|
+ fCurrency: 'RMB',
|
|
|
|
+ fExrate: 1,
|
|
|
|
+ fAmount: fAmount,
|
|
|
|
+ fTaxrate: this.fTaxrate,
|
|
|
|
+ fMblno:this.form.fMblno,
|
|
|
|
+ fProductName:this.form.fProductName,
|
|
|
|
+ fMarks:this.form.fMarks,
|
|
|
|
+ fBusinessType:this.$set(this.warehouseCrList,'fBusinessType',this.form.fBusinessType)
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
this.warehousingagreements = false;
|
|
this.warehousingagreements = false;
|
|
}
|
|
}
|
|
@@ -4339,9 +4368,13 @@ export default {
|
|
if (this.dataList[list].fBillstatus > 10) {
|
|
if (this.dataList[list].fBillstatus > 10) {
|
|
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 + '')
|
|
|
|
+ }else{
|
|
|
|
+ this.formBrowseStatus = false;
|
|
}
|
|
}
|
|
if(this.dataList[list].fBillstatus === 40){
|
|
if(this.dataList[list].fBillstatus === 40){
|
|
this.contrOl = true
|
|
this.contrOl = true
|
|
|
|
+ }else{
|
|
|
|
+ this.contrOl = false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -4376,6 +4409,7 @@ export default {
|
|
console.log(this.businessTypeOption)
|
|
console.log(this.businessTypeOption)
|
|
console.log(this.warehouseDrList)
|
|
console.log(this.warehouseDrList)
|
|
for (let dr in this.warehouseDrList) {
|
|
for (let dr in this.warehouseDrList) {
|
|
|
|
+ this.$forceUpdate()
|
|
this.$set(this.warehouseDrList[dr], "fFeeUnitid", this.warehouseDrList[dr].fFeeunitid + "");
|
|
this.$set(this.warehouseDrList[dr], "fFeeUnitid", this.warehouseDrList[dr].fFeeunitid + "");
|
|
this.$set(this.warehouseDrList[dr], "fQty", this.warehouseDrList[dr].fQty.toFixed(2));
|
|
this.$set(this.warehouseDrList[dr], "fQty", this.warehouseDrList[dr].fQty.toFixed(2));
|
|
this.$set(this.warehouseDrList[dr], "fAmount", this.warehouseDrList[dr].fAmount.toFixed(2));
|
|
this.$set(this.warehouseDrList[dr], "fAmount", this.warehouseDrList[dr].fAmount.toFixed(2));
|
|
@@ -4696,6 +4730,7 @@ export default {
|
|
this.fid = response.data;
|
|
this.fid = response.data;
|
|
this.formBrowseStatus = false;
|
|
this.formBrowseStatus = false;
|
|
this.msgSuccess("撤销入账成功");
|
|
this.msgSuccess("撤销入账成功");
|
|
|
|
+ this.contrOl = false
|
|
for (let li in this.dataWithdrawList) {
|
|
for (let li in this.dataWithdrawList) {
|
|
for (let i in this.dataList) {
|
|
for (let i in this.dataList) {
|
|
if (this.dataWithdrawList[li].fId === this.dataList[i].fId) {
|
|
if (this.dataWithdrawList[li].fId === this.dataList[i].fId) {
|