运单界面修正

master
zxh 8 months ago
parent 78376dec90
commit 42e226625e

@ -15,13 +15,13 @@
<a-input v-model="form.number"/>
</a-form-model-item>
<a-form-model-item label="售出商品" required>
<a-select v-model="selectIndex" placeholder="请选择商品">
<a-select v-model="selectIndex" placeholder="请选择货物">
<a-select-option :value="index" v-for="(item, index) in commodityList" :key="index">
{{ item.name }}
</a-select-option>
</a-select>
</a-form-model-item>
<a-form-model-item label="商品数量" required>
<a-form-model-item label="货物数量" required>
<a-input-number v-model="form.count"/>
</a-form-model-item>
<a-form-model-item label="预留电话" required>
@ -41,7 +41,7 @@
<p>收货公司 {{ form.company }}</p>
<p>打款账号 {{ form.number }}</p>
<p>售出商品 {{ form.commodity }}</p>
<p>商品数量 {{ form.count }}</p>
<p>货物数量 {{ form.count }}</p>
<p>预留电话 {{ form.phone }}</p>
<p>备注信息 {{ form.description }}</p>
<a-divider orientation="right">
@ -53,17 +53,17 @@
<div v-if="current === 2">
<a-result
status="success"
title="Submitted Successfully"
sub-title="Please wait for the administrator to review the delivery request."
title="提交成功!"
sub-title="请等待管理员审核请求"
>
<template #extra>
<router-link to="/sale/record">
<a-button key="console" type="primary">
Go Back
返回
</a-button>
</router-link>
<a-button key="buy" @click="current = 0">
Submit Again
再次提交
</a-button>
</template>
</a-result>

@ -29,7 +29,7 @@ const columns = [
key: 'number',
},
{
title: '商品',
title: '货物',
dataIndex: 'commodity',
key: 'commodity',
},
@ -49,7 +49,7 @@ const columns = [
dataIndex: 'phone',
},
{
title: '备注',
title: '货物类型',
dataIndex: 'description',
key: 'description',
},
@ -97,7 +97,7 @@ export default {
let that = this
this.$confirm({
title: '销售结款',
content: '已确定' + record.company + '销售金额 ¥' + record.price + '已经打入账户!',
content: '已确定' + record.company + '销售金额 ¥' + record.price + '已汇入公司账户',
okText: '确认',
cancelText: '取消',
onOk() {

Loading…
Cancel
Save