|
@@ -67,15 +67,9 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
+
|
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
|
- <el-col :span="12">
|
|
|
|
|
- <el-form-item label="计价方式" style="margin-bottom: 22px">
|
|
|
|
|
- <el-select v-model="form.pricingWay" disabled style="width: 100%">
|
|
|
|
|
- <el-option label="按数量计费" :value="1"></el-option>
|
|
|
|
|
- <el-option label="按重量计费" :value="2"></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
|
|
+
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
label="客户电话"
|
|
label="客户电话"
|
|
@@ -89,8 +83,6 @@
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
label="车辆号"
|
|
label="车辆号"
|
|
@@ -113,8 +105,6 @@
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<el-form-item prop="sendFiles" label="发货附件">
|
|
<el-form-item prop="sendFiles" label="发货附件">
|
|
|
<fileMain v-model="form.sendFiles"></fileMain>
|
|
<fileMain v-model="form.sendFiles"></fileMain>
|
|
@@ -214,7 +204,7 @@
|
|
|
import orderListDialog from './orderListDialog.vue';
|
|
import orderListDialog from './orderListDialog.vue';
|
|
|
import { copyObj } from '@/utils/util';
|
|
import { copyObj } from '@/utils/util';
|
|
|
import EntrustedReceiveDialog from '@/views/bpm/handleTask/components/saleOrder/invoice/entrustedReceiveDialog.vue';
|
|
import EntrustedReceiveDialog from '@/views/bpm/handleTask/components/saleOrder/invoice/entrustedReceiveDialog.vue';
|
|
|
- import fileMain from "@/components/addDoc/index.vue";
|
|
|
|
|
|
|
+ import fileMain from "@/BIZComponents/addDoc/index.vue";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
mixins: [dictMixins],
|
|
@@ -393,6 +383,16 @@
|
|
|
slot: 'weightUnit',
|
|
slot: 'weightUnit',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'pricingWay',
|
|
|
|
|
+ label: '计价方式',
|
|
|
|
|
+ slot: 'pricingWay',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ formatter: (row, column) => {
|
|
|
|
|
+ return row.pricingWay == 1 ? '数量' : row.pricingWay == 2 ? '重量':'';
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 160,
|
|
width: 160,
|
|
|
prop: 'singlePrice',
|
|
prop: 'singlePrice',
|
|
@@ -545,9 +545,11 @@
|
|
|
const data = await getSendSaleOrderrecordDetail(id);
|
|
const data = await getSendSaleOrderrecordDetail(id);
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
if (data) {
|
|
if (data) {
|
|
|
|
|
+ this.form = data;
|
|
|
|
|
+ this.form.pricingWay = data?.saleOrder?.pricingWay;
|
|
|
|
|
+ data.productList.forEach
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.form = data;
|
|
|
|
|
- this.form.pricingWay = data?.saleOrder?.pricingWay;
|
|
|
|
|
|
|
+
|
|
|
this.$refs.inventoryTableref &&
|
|
this.$refs.inventoryTableref &&
|
|
|
this.$refs.inventoryTableref.putTableValue(data.productList);
|
|
this.$refs.inventoryTableref.putTableValue(data.productList);
|
|
|
});
|
|
});
|