|
|
@ -68,7 +68,7 @@ |
|
|
|
:teleported="false" |
|
|
|
:teleported="false" |
|
|
|
v-model="form.deliveryType" |
|
|
|
v-model="form.deliveryType" |
|
|
|
class="m-2" |
|
|
|
class="m-2" |
|
|
|
placeholder="运费分摊方式" |
|
|
|
placeholder="送货方式" |
|
|
|
size="default" |
|
|
|
size="default" |
|
|
|
@change=" |
|
|
|
@change=" |
|
|
|
val => { |
|
|
|
val => { |
|
|
@ -89,12 +89,12 @@ |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="付款方式" prop="payMethod"> |
|
|
|
<el-form-item label="送货方式" prop="payMethod"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
:teleported="false" |
|
|
|
:teleported="false" |
|
|
|
v-model="form.payMethod" |
|
|
|
v-model="form.payMethod" |
|
|
|
class="m-2" |
|
|
|
class="m-2" |
|
|
|
placeholder="运费分摊方式" |
|
|
|
placeholder="送货方式" |
|
|
|
size="default" |
|
|
|
size="default" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
@ -163,7 +163,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-button type="primary" @click="handleAddCarrier" icon="Plus" /> |
|
|
|
<el-button type="primary" @click="handleAddVehicle" icon="Plus" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div style="display: flex"> |
|
|
|
<div style="display: flex"> |
|
|
@ -213,7 +213,7 @@ |
|
|
|
</SelectBox> |
|
|
|
</SelectBox> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-button type="primary" @click="handleAddCarrier" icon="Plus" /> |
|
|
|
<el-button type="primary" @click="handleAddCar" icon="Plus" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="客户类型" prop="customerType"> |
|
|
|
<el-form-item label="客户类型" prop="customerType"> |
|
|
@ -635,6 +635,30 @@ const details = reactive<any>({ |
|
|
|
trigger: ['change'], |
|
|
|
trigger: ['change'], |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
/** 付款方式 */ |
|
|
|
|
|
|
|
payMethod: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择付款方式', |
|
|
|
|
|
|
|
trigger: ['change'], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
/** 运费分摊方式 */ |
|
|
|
|
|
|
|
chargeType: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择运费分摊方式', |
|
|
|
|
|
|
|
trigger: ['change'], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
/** 是否结算 */ |
|
|
|
|
|
|
|
isSettlement: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: '请选择结算状态', |
|
|
|
|
|
|
|
trigger: ['change'], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
/** 客户类型 */ |
|
|
|
/** 客户类型 */ |
|
|
|
customerType: [ |
|
|
|
customerType: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1122,6 +1146,25 @@ const handleAddCarrier = () => { |
|
|
|
$router.push({ path: '/basicdata/carrier/basicdataCarrier' }); |
|
|
|
$router.push({ path: '/basicdata/carrier/basicdataCarrier' }); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 新增车辆 */ |
|
|
|
|
|
|
|
const handleAddCar = () => { |
|
|
|
|
|
|
|
$router.push({ path: '/basicdata/vehicle/basicdataVehicle' }); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 新增司机 */ |
|
|
|
|
|
|
|
const handleAddVehicle = () => { |
|
|
|
|
|
|
|
$store.commit('DEL_ONCE_TAG', 'basicdataDriverArteryAdd'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$router.push({ |
|
|
|
|
|
|
|
path: '/basicdata/driverArtery/basicdataDriverArteryAdd', |
|
|
|
|
|
|
|
query: { |
|
|
|
|
|
|
|
name: '司机信息新增', |
|
|
|
|
|
|
|
type: 'add', |
|
|
|
|
|
|
|
backPatch: '/basicdata/driverArtery/basicdataDriverArtery', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/** 选择承运商 */ |
|
|
|
/** 选择承运商 */ |
|
|
|
const carrierNameChange = () => { |
|
|
|
const carrierNameChange = () => { |
|
|
|
const findValue = form.value.carrierName; |
|
|
|
const findValue = form.value.carrierName; |
|
|
|