|
@@ -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
|