|
@@ -501,6 +501,8 @@
|
|
|
</el-button>
|
|
|
<el-button :disabled="browseStatus" type="primary" size="small" @click="saveForm">保 存
|
|
|
</el-button>
|
|
|
+ <el-button :disabled="browseStatus || !this.form.fId" type="primary" size="small" @click="syncStorageFeeDates">同步仓储费日期
|
|
|
+ </el-button>
|
|
|
<!-- <el-button :disabled="browseStatus" type="primary" size="small">同步仓储费日期-->
|
|
|
<!-- </el-button>-->
|
|
|
</el-col>
|
|
@@ -3827,7 +3829,8 @@ import {
|
|
|
queryReviewer,
|
|
|
feesCheck,
|
|
|
revokefeeCheck,
|
|
|
- stockWarning
|
|
|
+ stockWarning,
|
|
|
+ updateBillingDate
|
|
|
} from '@/api/warehouseBusiness/warehouseOutStock'
|
|
|
import { operationAgreement } from '@/api/agreement/agreement'
|
|
|
import { listCorps, getCorps } from '@/api/basicdata/corps'
|
|
@@ -5201,6 +5204,19 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ // 同步仓储费日期
|
|
|
+ syncStorageFeeDates() {
|
|
|
+ updateBillingDate(this.form.fId).then((res) => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.$message({
|
|
|
+ message: '同步成功',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message.error('同步失败');
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
//保存列设置
|
|
|
save() {
|
|
|
this.showSetting = false
|