|
...
|
...
|
@@ -351,7 +351,7 @@ import FileUpload from '@/components/file-upload/index.vue' |
|
351
|
351
|
import SingleSelectSheet from '@/components/single-select/index.vue'
|
|
352
|
352
|
import MultiSelectSheet from '@/components/multi-select/index.vue'
|
|
353
|
353
|
import { getDicByCodes, getDicName } from '@/utils/dic.js'
|
|
354
|
|
-import { domesticCustomerCreditGetApi, domesticCustomerCreditSaveApi, getPurchaseDeptApi, getAllRegionApi, getRegionApi } from '@/api/procure-manage/domesticCustomerCredit.js'
|
|
|
354
|
+import { domesticCustomerCreditGetApi, domesticCustomerCreditUpdateApi, getPurchaseDeptApi, getAllRegionApi, getRegionApi } from '@/api/procure-manage/domesticCustomerCredit.js'
|
|
355
|
355
|
|
|
356
|
356
|
export default {
|
|
357
|
357
|
name: 'DomesticTradeModify',
|
|
...
|
...
|
@@ -751,8 +751,6 @@ export default { |
|
751
|
751
|
{ key: 'operationMode', label: '操作方式' },
|
|
752
|
752
|
{ key: 'accountingProcess', label: '进销账务如何处理' },
|
|
753
|
753
|
{ key: 'transportMode', label: '运输方式' },
|
|
754
|
|
- { key: 'commonMaterialIssue', label: '常见料质问题' },
|
|
755
|
|
- { key: 'otherIssue', label: '合作中的其它问题' },
|
|
756
|
754
|
{ key: 'purchaseDepartment', label: '采购处' },
|
|
757
|
755
|
{ key: 'reviewValidUntil', label: '评审有效期' },
|
|
758
|
756
|
{ key: 'investigatorId', label: '资信调查人ID' }
|
|
...
|
...
|
@@ -831,7 +829,7 @@ export default { |
|
831
|
829
|
this.submitting = true
|
|
832
|
830
|
const payload = this.buildPayload()
|
|
833
|
831
|
try {
|
|
834
|
|
- await domesticCustomerCreditSaveApi(payload)
|
|
|
832
|
+ await domesticCustomerCreditUpdateApi(payload)
|
|
835
|
833
|
uni.showToast({ title: '保存成功', icon: 'success' })
|
|
836
|
834
|
setTimeout(() => { uni.redirectTo({ url: '/pages/domestic_trade/index' }) }, 300)
|
|
837
|
835
|
} catch (e) {
|
...
|
...
|
|