|
@@ -219,9 +219,9 @@
|
|
|
<span v-else>{{ row.goodsName }}</span>
|
|
|
</template>
|
|
|
<tempalte slot="goodsType" slot-scope="{ row }">
|
|
|
- <dic-select v-if="row.$cellEdit && !row.srcId" v-model="row.goodsType"
|
|
|
- placeholder="类型" key="dictKey" label="dictValue"
|
|
|
- url="/blade-system/dict-biz/dictionary?code=goods-type" :filterable="true"></dic-select>
|
|
|
+ <dic-select v-if="row.$cellEdit && !row.srcId" v-model="row.goodsType" placeholder="类型"
|
|
|
+ key="dictKey" label="dictValue" url="/blade-system/dict-biz/dictionary?code=goods-type"
|
|
|
+ :filterable="true"></dic-select>
|
|
|
<span v-else>{{ row.goodsType }}</span>
|
|
|
</tempalte>
|
|
|
<tempalte slot="number" slot-scope="{ row }">
|
|
@@ -432,9 +432,9 @@ export default {
|
|
|
name: "detailsPage",
|
|
|
data() {
|
|
|
return {
|
|
|
- dicTitle:null,
|
|
|
+ dicTitle: null,
|
|
|
parentId: null,
|
|
|
- dicCode:null,
|
|
|
+ dicCode: null,
|
|
|
carForm: {
|
|
|
// id: null,
|
|
|
// inspectionFleetId: null,
|
|
@@ -1560,7 +1560,7 @@ export default {
|
|
|
}
|
|
|
if (name == '类型') {
|
|
|
this.$refs.dictbiz.open()
|
|
|
- this.dicTitle='添加类型'
|
|
|
+ this.dicTitle = '添加类型'
|
|
|
this.parentId = '1813125517193330690'
|
|
|
this.dicCode = 'goods-type'
|
|
|
}
|
|
@@ -1572,7 +1572,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
getAllWorkDicts() {
|
|
|
- this.dicTitle=null
|
|
|
+ this.dicTitle = null
|
|
|
this.parentId = null
|
|
|
this.dicCode = null
|
|
|
},
|
|
@@ -2321,7 +2321,6 @@ export default {
|
|
|
this.$emit('updateKey')
|
|
|
}
|
|
|
this.getDetails(res.data.data.id)
|
|
|
-
|
|
|
}).finally(() => {
|
|
|
loading.close();
|
|
|
})
|
|
@@ -2333,33 +2332,35 @@ export default {
|
|
|
},
|
|
|
application() {
|
|
|
if (this.form.feeCenterListD.length == 0 && this.form.feeCenterListC.length == 0) return this.$message.error("费用不能为空");
|
|
|
- this.$confirm("确定请核数据?", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
- }).then(() => {
|
|
|
- let obj = {}
|
|
|
- obj = {
|
|
|
- id: this.form.id,
|
|
|
- url: '/tradeAgency/oceanFreightImport/index',
|
|
|
- pageStatus: '',
|
|
|
- pageLabel: '海运进口(T)',
|
|
|
- }
|
|
|
- const loading = this.$loading({
|
|
|
- lock: true,
|
|
|
- text: '加载中',
|
|
|
- spinner: 'el-icon-loading',
|
|
|
- background: 'rgba(255,255,255,0.7)'
|
|
|
+ if (this.$refs.feeInfo.submitValidate()) {
|
|
|
+ this.$confirm("确定请核数据?", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(() => {
|
|
|
+ let obj = {}
|
|
|
+ obj = {
|
|
|
+ id: this.form.id,
|
|
|
+ url: '/tradeAgency/oceanFreightImport/index',
|
|
|
+ pageStatus: '',
|
|
|
+ pageLabel: '海运进口(T)',
|
|
|
+ }
|
|
|
+ const loading = this.$loading({
|
|
|
+ lock: true,
|
|
|
+ text: '加载中',
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
+ background: 'rgba(255,255,255,0.7)'
|
|
|
+ });
|
|
|
+ checkAgent(obj).then(res => {
|
|
|
+ this.$message.success("请核成功");
|
|
|
+ this.editDisabled = true
|
|
|
+ this.optionForm.disabled = true
|
|
|
+ this.getDetails(res.data.data.id)
|
|
|
+ }).finally(() => {
|
|
|
+ loading.close();
|
|
|
+ })
|
|
|
});
|
|
|
- checkAgent(obj).then(res => {
|
|
|
- this.$message.success("请核成功");
|
|
|
- this.editDisabled = true
|
|
|
- this.optionForm.disabled = true
|
|
|
- this.getDetails(res.data.data.id)
|
|
|
- }).finally(() => {
|
|
|
- loading.close();
|
|
|
- })
|
|
|
- });
|
|
|
+ }
|
|
|
},
|
|
|
revokeApplication() {
|
|
|
this.$confirm("确定撤销请核?", {
|