|
|
@@ -319,7 +319,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="发货模式" prop="deliveryMode">
|
|
|
+ <el-form-item :label="form.type == 2 ? '收货模式' : '发货模式'" prop="deliveryMode">
|
|
|
<el-select
|
|
|
v-model="form.deliveryMode"
|
|
|
placeholder="请选择"
|
|
|
@@ -327,7 +327,7 @@
|
|
|
style="width: 100%"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="item in shippingModeOp"
|
|
|
+ v-for="item in shippingModeOptions"
|
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
|
@@ -821,7 +821,7 @@
|
|
|
import saleOrderListDialog from '@/views/saleManage/saleOrder/invoice/components/orderListDialog.vue'; //销售订单
|
|
|
import { getSaleOrderDetail } from '@/api/saleManage/saleorder';
|
|
|
import PaymentCollectionPlan from '@/BIZComponents/paymentCollectionPlan/Index.vue'
|
|
|
- import { shippingModeOp, transactionMethodsOp } from '@/enum/dict.js';
|
|
|
+ import { shippingModeOp, shippingModePurchaseOp, transactionMethodsOp } from '@/enum/dict.js';
|
|
|
|
|
|
export default {
|
|
|
props: {
|
|
|
@@ -1042,6 +1042,9 @@
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
+ shippingModeOptions() {
|
|
|
+ return this.form.type == 2 ? shippingModePurchaseOp : shippingModeOp;
|
|
|
+ },
|
|
|
rules() {
|
|
|
let isRequired = this.isRequired;
|
|
|
return {
|
|
|
@@ -1339,6 +1342,7 @@
|
|
|
|
|
|
//选择合同类型
|
|
|
dictChange(val, type) {
|
|
|
+ console.log('val~~~', val);
|
|
|
this.categoryList = copyObj(
|
|
|
this.contractBookTypeList?.find((item) => item.code == val)?.children
|
|
|
);
|
|
|
@@ -1633,7 +1637,7 @@
|
|
|
this.create = create;
|
|
|
this.source = source;
|
|
|
this.contractBookTypeList = copyObj(this.categoryTreeList[0].children);
|
|
|
-
|
|
|
+ console.log('contractBookTypeList!!!', this.contractBookTypeList)
|
|
|
if (type == 'add') {
|
|
|
let userInfo = this.$store.getters.user.info;
|
|
|
this.isUpdate = false;
|