|
@@ -227,7 +227,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
- @click="handleUpdate(scope.row, true)"
|
|
|
+ @click="handleUpdate_s(scope.row, true)"
|
|
|
v-hasPermi="['warehouseBusiness:storageFeeCalculation:edit']"
|
|
|
>查看
|
|
|
</el-button>
|
|
@@ -826,7 +826,7 @@
|
|
|
<el-button type="primary" v-if="notChange" @click="addOrUpdateHandle">查看审批流</el-button>
|
|
|
<el-button v-if="cancelButton === true" @click="cancel">取 消</el-button>
|
|
|
<el-button v-if="cancelButton === false" @click="homePage">取 消</el-button>
|
|
|
- <el-button type="danger" size="small" :disabled="disappear" v-if="form.fBillstatus == '4' && Operator == Lander" @click="backApproval">撤销审批</el-button>
|
|
|
+ <el-button type="danger" :disabled="disappear" v-if="form.fBillstatus == '4' && Operator == Lander" @click="backApproval">撤销审批</el-button>
|
|
|
<el-button type="primary" :disabled="browseStatus" @click="submitForm(2)">保 存</el-button>
|
|
|
<el-button
|
|
|
:disabled="browseStatus"
|
|
@@ -1339,9 +1339,55 @@
|
|
|
this.relevantAttachments = [];
|
|
|
this.title = "出库单";
|
|
|
},
|
|
|
+ handleUpdate_s(row, status) {
|
|
|
+ this.disappear = true
|
|
|
+ this.notChange = true
|
|
|
+ this.browseStatus = status;
|
|
|
+ this.reset();
|
|
|
+ let data = row || this.ids;
|
|
|
+ getStorageFeeCalculation(data.fId).then((response) => {
|
|
|
+
|
|
|
+ this.fMblnoOptions = []
|
|
|
+ if (response.data.corps) {
|
|
|
+ this.fMblnoOptions.push(response.data.corps)
|
|
|
+ }
|
|
|
+ if (response.data.warehouse) {
|
|
|
+ this.form = response.data.warehouse
|
|
|
+ this.Operator = this.form.createBy
|
|
|
+ this.$set(this.form, 'createTime', Date.parse(this.form.createTime))
|
|
|
+ this.$set(this.form, 'fBillingDeadline', Date.parse(this.form.fBillingDeadline))
|
|
|
+ }
|
|
|
+ if (response.data.warehouseItemsList) {
|
|
|
+ this.dataList = response.data.warehouseItemsList
|
|
|
+ for (let li in this.dataList) {
|
|
|
+ this.$set(this.dataList[li], 'fBsdate', Date.parse(this.dataList[li].fBsdate))
|
|
|
+ this.$set(this.dataList[li], 'fChargedate', Date.parse(this.dataList[li].fChargedate))
|
|
|
+ this.$set(this.dataList[li], 'fBillingDeadline', Date.parse(this.dataList[li].fBillingDeadline))
|
|
|
+ this.$set(this.dataList[li], 'fStorageFeeDeadline', Date.parse(this.dataList[li].fStorageFeeDeadline))
|
|
|
+ }
|
|
|
+ console.log(this.dataList)
|
|
|
+ }
|
|
|
+ if (response.data.warehouseFeesList) {
|
|
|
+ this.warehouseDrList = response.data.warehouseFeesList
|
|
|
+ }
|
|
|
+ if (response.data.goodsList) {
|
|
|
+ this.goodsOptions = response.data.goodsList
|
|
|
+ }
|
|
|
+ if (response.data.feesList) {
|
|
|
+ this.fWbuOptions = response.data.feesList
|
|
|
+ }
|
|
|
+ this.userOptions = response.data.sysUser;
|
|
|
+ this.open = true;
|
|
|
+ this.title = "编辑仓储费计算";
|
|
|
+ console.log(this.Operator)
|
|
|
+ console.log(this.Lander)
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row, status) {
|
|
|
+ this.disappear = false
|
|
|
this.notChange = true
|
|
|
this.browseStatus = status;
|
|
|
this.reset();
|