Commit 3089a994cad8336b2282dab4086f69a5fa8d1007
1 parent
86e3da68
修改跟单编辑bug
Showing
1 changed file
with
4 additions
and
3 deletions
src/views/project/finance/pay/TrackEdit.vue
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | > | 15 | > |
16 | <div> | 16 | <div> |
17 | <div style="font-size: 15px">生产科扣款金额¥</div> | 17 | <div style="font-size: 15px">生产科扣款金额¥</div> |
18 | - <a-input v-model="input1" placeholder="请输入" :disabled="status === 10" auto-size /> | 18 | + <a-input v-model:value="input1" placeholder="请输入" :disabled="status === 10" auto-size /> |
19 | <div style="margin: 16px 0"></div> | 19 | <div style="margin: 16px 0"></div> |
20 | <div style="font-size: 15px">扣款责任部门</div> | 20 | <div style="font-size: 15px">扣款责任部门</div> |
21 | <a-input | 21 | <a-input |
@@ -74,11 +74,11 @@ | @@ -74,11 +74,11 @@ | ||
74 | // console.log(productionDepartment.value, '565656565665orderStore1'); | 74 | // console.log(productionDepartment.value, '565656565665orderStore1'); |
75 | // }); | 75 | // }); |
76 | 76 | ||
77 | - const input1 = ref(0); | 77 | + const input1 = ref(); |
78 | const deductUrl = ref(); | 78 | const deductUrl = ref(); |
79 | const id = ref(); | 79 | const id = ref(); |
80 | const checkNo = ref(); | 80 | const checkNo = ref(); |
81 | - const deductDept = ref(''); | 81 | + const deductDept = ref(); |
82 | const uploadUrl = ref('http://47.104.8.35:8081/api/localStorage/upload_file_oss?name='); | 82 | const uploadUrl = ref('http://47.104.8.35:8081/api/localStorage/upload_file_oss?name='); |
83 | const updateDeductUrl = ref('http://47.104.8.35:8081/api/localStorage/upload_file_oss?name='); | 83 | const updateDeductUrl = ref('http://47.104.8.35:8081/api/localStorage/upload_file_oss?name='); |
84 | const deductUrlOld = ref(); | 84 | const deductUrlOld = ref(); |
@@ -120,6 +120,7 @@ | @@ -120,6 +120,7 @@ | ||
120 | } | 120 | } |
121 | //完成编辑 | 121 | //完成编辑 |
122 | async function handleSubmit() { | 122 | async function handleSubmit() { |
123 | + console.log(input1.value, deductUrl.value, deductDept.value, '5656ddd'); | ||
123 | if (!input1.value || deductUrl.value == '' || !deductDept.value) { | 124 | if (!input1.value || deductUrl.value == '' || !deductDept.value) { |
124 | error('选项不能为空'); | 125 | error('选项不能为空'); |
125 | } else { | 126 | } else { |