guoyujia 8 mesiacov pred
rodič
commit
0bf672c68f

+ 2 - 1
src/views/business/returnTurnover/DialogReturnTurnover.vue

@@ -201,7 +201,8 @@ function handleSave() {
     proxy.$refs["returnTurnoverRef"].validate((valid) => {
       if (valid) {
         console.log(form.value)
-        checkCarriers({ carriers: form.value.newCarrierName}).then(res=>{
+        const carrierCode = form.value.carriers.map(v => v.code).join()
+        checkCarriers({ carriers:carrierCode}).then(res=>{
           if (!res.data) {
             proxy.$modal.msgError('请不要选择外协箱进行周转')
             return