|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<el-dialog
|
|
|
:visible.sync="visible"
|
|
|
- :title="发货方式"
|
|
|
+ :title="`${operatorType.name}发货方式`"
|
|
|
append-to-body
|
|
|
width="750px"
|
|
|
>
|
|
@@ -15,18 +15,29 @@
|
|
|
:gutter="$$Constant.LAYOUT_GAP"
|
|
|
>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="发货方式">
|
|
|
- <el-input v-model="data.goodsCode" readonly/>
|
|
|
- </el-form-item>
|
|
|
+ <el-form-item label="发货方式" :rules="[{
|
|
|
+ required: true,
|
|
|
+ message: '请选择发货方式'
|
|
|
+ }]">
|
|
|
+ <my-select
|
|
|
+ v-model="data.deliveryMethodId"
|
|
|
+ :options="optionGroup.DeliveryType ? optionGroup.DeliveryType.list : []"
|
|
|
+ ></my-select>
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="发货单号">
|
|
|
- <el-input v-model="data.orderNo" />
|
|
|
+ <el-input v-model="data.deliveryOrderNo" :disabled="data.deliveryMethodId === '1'"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
-
|
|
|
+ <template #footer>
|
|
|
+ <div class="flex center dialog-footer">
|
|
|
+ <el-button @click="onCloseBtnClick">取消</el-button>
|
|
|
+ <el-button type="primary" @click="onSaveBtnClick">确定</el-button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</el-dialog>
|
|
|
</template>
|
|
|
|
|
@@ -38,10 +49,10 @@ export default {
|
|
|
name: 'DialogTagDistribute',
|
|
|
extends: BaseCurdEditor(TagDistribute),
|
|
|
props: {
|
|
|
- // optionGroup: {
|
|
|
- // required: true,
|
|
|
- // type: Object
|
|
|
- // }
|
|
|
+ optionGroup: {
|
|
|
+ required: true,
|
|
|
+ type: Object
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|