|
@@ -406,6 +406,7 @@
|
|
style="width:80%"
|
|
style="width:80%"
|
|
:remote-method="corpsRemoteMethod"
|
|
:remote-method="corpsRemoteMethod"
|
|
placeholder="请输入模糊查找客户名称"
|
|
placeholder="请输入模糊查找客户名称"
|
|
|
|
+ @change="changeFeeDate"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
@@ -427,6 +428,7 @@
|
|
clearable
|
|
clearable
|
|
:remote-method="goodsRemoteMethod"
|
|
:remote-method="goodsRemoteMethod"
|
|
placeholder="请输入模糊查找货品名称"
|
|
placeholder="请输入模糊查找货品名称"
|
|
|
|
+ @change="changeFeeDate"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(dict, index) in goodsOptions"
|
|
v-for="(dict, index) in goodsOptions"
|
|
@@ -460,6 +462,7 @@
|
|
:disabled="browseStatus"
|
|
:disabled="browseStatus"
|
|
value-format="timestamp"
|
|
value-format="timestamp"
|
|
placeholder="仓储费计算截止日期"
|
|
placeholder="仓储费计算截止日期"
|
|
|
|
+ @change="changeFeeDate"
|
|
>
|
|
>
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -527,6 +530,7 @@
|
|
placeholder="请选择仓库库区"
|
|
placeholder="请选择仓库库区"
|
|
clearable
|
|
clearable
|
|
filterable
|
|
filterable
|
|
|
|
+ @change="changeFeeDate"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(item, index) in warehouseOptions"
|
|
v-for="(item, index) in warehouseOptions"
|
|
@@ -1774,6 +1778,27 @@ export default {
|
|
this.reset();
|
|
this.reset();
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
|
|
+ changeFeeDate() {
|
|
|
|
+ if (!this.form.fCorpid || !this.form.fBillingDeadline) return
|
|
|
|
+ this.dataList = []
|
|
|
|
+ this.getStorageFee()
|
|
|
|
+ // if (this.dataList.length !== 0) {
|
|
|
|
+ // this.$confirm(`仓储费已经存在,确定要删除重新计算吗?`, '提示', {
|
|
|
|
+ // confirmButtonText: '确定',
|
|
|
|
+ // cancelButtonText: '取消',
|
|
|
|
+ // type: 'warning'
|
|
|
|
+ // }).then(() => {
|
|
|
|
+ // this.dataList = []
|
|
|
|
+ // this.getStorageFee()
|
|
|
|
+ // }).catch(() => {
|
|
|
|
+ // return false
|
|
|
|
+ // })
|
|
|
|
+ // } else {
|
|
|
|
+ // this.dataList = []
|
|
|
|
+ // this.getStorageFee()
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ },
|
|
// 计算仓储费
|
|
// 计算仓储费
|
|
calculateCost() {
|
|
calculateCost() {
|
|
this.countstate = true
|
|
this.countstate = true
|