|
@@ -36,11 +36,8 @@
|
|
<el-col v-if="active == 3">
|
|
<el-col v-if="active == 3">
|
|
<el-col :span="24" style="text-align: center; margin: 15px 0; font-size: 18px">店铺{{ getCheck() || '暂无快递信息' }}</el-col>
|
|
<el-col :span="24" style="text-align: center; margin: 15px 0; font-size: 18px">店铺{{ getCheck() || '暂无快递信息' }}</el-col>
|
|
<el-col>
|
|
<el-col>
|
|
- <el-form :model="form" ref="form" label-width="100px" class="demo-ruleForm">
|
|
|
|
- <el-form-item label="寄出运单号" prop="shop_transport_no">
|
|
|
|
- <el-input v-model="form.shop_transport_no" placeholder="请输入运单号,快递类型,同时填入" size="small"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item label="快递类型" prop="shop_transport_type">
|
|
|
|
|
|
+ <data-form :fields="infoFields" :rules="rules" v-model="form" labelWidth="150px" @save="onSubmit">
|
|
|
|
+ <template #shop_transport_type>
|
|
<el-select
|
|
<el-select
|
|
v-model="form.shop_transport_type"
|
|
v-model="form.shop_transport_type"
|
|
filterable
|
|
filterable
|
|
@@ -55,18 +52,28 @@
|
|
>
|
|
>
|
|
<el-option v-for="item in shop_transport_typeList" :key="item.id" :label="item.label" :value="item.value"> </el-option>
|
|
<el-option v-for="item in shop_transport_typeList" :key="item.id" :label="item.label" :value="item.value"> </el-option>
|
|
</el-select>
|
|
</el-select>
|
|
|
|
+ </template>
|
|
|
|
+ </data-form>
|
|
|
|
+ <!-- <el-form :model="form" ref="form" label-width="100px" class="demo-ruleForm">
|
|
|
|
+ <el-form-item label="寄出运单号" prop="shop_transport_no">
|
|
|
|
+ <el-input v-model="form.shop_transport_no" placeholder="请输入运单号,快递类型,同时填入" size="small"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="快递类型" prop="shop_transport_type">
|
|
|
|
+
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" @click="onSubmit()">保存</el-button>
|
|
<el-button type="primary" @click="onSubmit()">保存</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </el-form>
|
|
|
|
|
|
+ </el-form> -->
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col v-if="active == 4">
|
|
<el-col v-if="active == 4">
|
|
<el-col :span="24" style="text-align: center; margin-top: 15px">
|
|
<el-col :span="24" style="text-align: center; margin-top: 15px">
|
|
<el-button type="primary" @click="exam('-3')" style="margin: 10px 0">已换货</el-button>
|
|
<el-button type="primary" @click="exam('-3')" style="margin: 10px 0">已换货</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" style="text-align: center; margin: 15px 0; font-size: 18px">买家{{ getCheckOne() || '暂无快递信息' }}</el-col>
|
|
|
|
|
|
+ <el-col :span="24" style="text-align: center; margin: 15px 0; font-size: 18px" v-if="transport.customer_receive == true"
|
|
|
|
+ >买家{{ getCheckOne() || '暂无快递信息' }}</el-col
|
|
|
|
+ >
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-timeline :reverse="reverse">
|
|
<el-timeline :reverse="reverse">
|
|
<el-timeline-item v-for="(activity, index) in shopList" :key="index" :timestamp="activity.time" :color="activity.color">
|
|
<el-timeline-item v-for="(activity, index) in shopList" :key="index" :timestamp="activity.time" :color="activity.color">
|
|
@@ -98,13 +105,21 @@ export default {
|
|
customer: { type: Array },
|
|
customer: { type: Array },
|
|
shopList: { type: Array },
|
|
shopList: { type: Array },
|
|
activit: { type: Object },
|
|
activit: { type: Object },
|
|
|
|
+ transport: { type: Object },
|
|
},
|
|
},
|
|
components: {},
|
|
components: {},
|
|
data: function () {
|
|
data: function () {
|
|
return {
|
|
return {
|
|
loading: false,
|
|
loading: false,
|
|
reverse: false,
|
|
reverse: false,
|
|
- shop_receiveList: [{ label: '已签收', value: true }],
|
|
|
|
|
|
+ infoFields: [
|
|
|
|
+ { label: '快递单号', model: 'shop_transport_no' },
|
|
|
|
+ { label: '快递类型', model: 'shop_transport_type', custom: true },
|
|
|
|
+ ],
|
|
|
|
+ rules: {
|
|
|
|
+ shop_transport_no: [{ required: true, message: '请输入快递单号', trigger: 'blur' }],
|
|
|
|
+ shop_transport_type: [{ required: true, message: '请选择快递类型', trigger: 'change' }],
|
|
|
|
+ },
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|