运单界面修正

master
zxh 8 months ago
parent 78376dec90
commit 42e226625e

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

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

Loading…
Cancel
Save