|  | @@ -57,6 +57,40 @@
 | 
	
		
			
				|  |  |                @getRow="rowCorpdata"
 | 
	
		
			
				|  |  |              ></select-component>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  | +          <template slot="priceTerms">
 | 
	
		
			
				|  |  | +            <el-select
 | 
	
		
			
				|  |  | +              size="small"
 | 
	
		
			
				|  |  | +              v-model="form.priceTerms"
 | 
	
		
			
				|  |  | +              placeholder="请选择"
 | 
	
		
			
				|  |  | +              @change="priceTermsChange"
 | 
	
		
			
				|  |  | +              clearable
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  | +              <el-option
 | 
	
		
			
				|  |  | +                v-for="item in priceTermsList"
 | 
	
		
			
				|  |  | +                :key="item.id"
 | 
	
		
			
				|  |  | +                :label="item.dictValue"
 | 
	
		
			
				|  |  | +                :value="item.dictValue"
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  | +              </el-option>
 | 
	
		
			
				|  |  | +            </el-select>
 | 
	
		
			
				|  |  | +          </template>
 | 
	
		
			
				|  |  | +          <template slot="paymentType">
 | 
	
		
			
				|  |  | +            <el-select
 | 
	
		
			
				|  |  | +              size="small"
 | 
	
		
			
				|  |  | +              v-model="form.paymentType"
 | 
	
		
			
				|  |  | +              placeholder="请选择"
 | 
	
		
			
				|  |  | +              @change="paymentTypeChange"
 | 
	
		
			
				|  |  | +              clearable
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  | +              <el-option
 | 
	
		
			
				|  |  | +                v-for="item in paymentTermList"
 | 
	
		
			
				|  |  | +                :key="item.id"
 | 
	
		
			
				|  |  | +                :label="item.dictValue"
 | 
	
		
			
				|  |  | +                :value="item.dictValue"
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  | +              </el-option>
 | 
	
		
			
				|  |  | +            </el-select>
 | 
	
		
			
				|  |  | +          </template>
 | 
	
		
			
				|  |  |            <template slot="boxNumber">
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  |                size="mini"
 | 
	
	
		
			
				|  | @@ -450,7 +484,7 @@ export default {
 | 
	
		
			
				|  |  |        switchDialog: false,
 | 
	
		
			
				|  |  |        form: {
 | 
	
		
			
				|  |  |          orderStatus: "录入",
 | 
	
		
			
				|  |  | -        businesDate:dateFormat(new Date(), "yyyy-MM-dd")+" 00:00:00"
 | 
	
		
			
				|  |  | +        businesDate: dateFormat(new Date(), "yyyy-MM-dd") + " 00:00:00"
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        disabled: false,
 | 
	
		
			
				|  |  |        dialogVisible: false,
 | 
	
	
		
			
				|  | @@ -534,17 +568,16 @@ export default {
 | 
	
		
			
				|  |  |                value: "dictValue"
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            },
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              label: "价格条款",
 | 
	
		
			
				|  |  |              prop: "priceTerms",
 | 
	
		
			
				|  |  | -            span: 8,
 | 
	
		
			
				|  |  | -            type: "select",
 | 
	
		
			
				|  |  | -            dicUrl: "/api/blade-system/dict-biz/dictionary?code=pricing_terms",
 | 
	
		
			
				|  |  | -            props: {
 | 
	
		
			
				|  |  | -              label: "dictValue",
 | 
	
		
			
				|  |  | -              value: "dictValue"
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            span: 8
 | 
	
		
			
				|  |  | +            // type: "select",
 | 
	
		
			
				|  |  | +            // dicData:[],
 | 
	
		
			
				|  |  | +            // props: {
 | 
	
		
			
				|  |  | +            //   label: "dictValue",
 | 
	
		
			
				|  |  | +            //   value: "dictValue"
 | 
	
		
			
				|  |  | +            // }
 | 
	
		
			
				|  |  |            },
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              label: "条款说明",
 | 
	
	
		
			
				|  | @@ -554,13 +587,13 @@ export default {
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              label: "收款方式",
 | 
	
		
			
				|  |  |              prop: "paymentType",
 | 
	
		
			
				|  |  | -            span: 8,
 | 
	
		
			
				|  |  | -            type: "select",
 | 
	
		
			
				|  |  | -            dicUrl: "/api/blade-system/dict-biz/dictionary?code=payment_term",
 | 
	
		
			
				|  |  | -            props: {
 | 
	
		
			
				|  |  | -              label: "dictValue",
 | 
	
		
			
				|  |  | -              value: "dictValue"
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            span: 8
 | 
	
		
			
				|  |  | +            // type: "select",
 | 
	
		
			
				|  |  | +            // dicUrl: "/api/blade-system/dict-biz/dictionary?code=payment_term",
 | 
	
		
			
				|  |  | +            // props: {
 | 
	
		
			
				|  |  | +            //   label: "dictValue",
 | 
	
		
			
				|  |  | +            //   value: "dictValue"
 | 
	
		
			
				|  |  | +            // }
 | 
	
		
			
				|  |  |            },
 | 
	
		
			
				|  |  |            {
 | 
	
		
			
				|  |  |              label: "收款说明",
 | 
	
	
		
			
				|  | @@ -733,7 +766,7 @@ export default {
 | 
	
		
			
				|  |  |        orderFeesList: [],
 | 
	
		
			
				|  |  |        oldform: {
 | 
	
		
			
				|  |  |          orderStatus: "录入",
 | 
	
		
			
				|  |  | -        businesDate:dateFormat(new Date(), "yyyy-MM-dd")+" 00:00:00"
 | 
	
		
			
				|  |  | +        businesDate: dateFormat(new Date(), "yyyy-MM-dd") + " 00:00:00"
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        olddata: [],
 | 
	
		
			
				|  |  |        oldorderFeesList: [],
 | 
	
	
		
			
				|  | @@ -745,7 +778,9 @@ export default {
 | 
	
		
			
				|  |  |        partreData: null,
 | 
	
		
			
				|  |  |        partType: false,
 | 
	
		
			
				|  |  |        partList: [],
 | 
	
		
			
				|  |  | -      goodsoptions: []
 | 
	
		
			
				|  |  | +      goodsoptions: [],
 | 
	
		
			
				|  |  | +      priceTermsList: [],
 | 
	
		
			
				|  |  | +      paymentTermList: []
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    props: {
 | 
	
	
		
			
				|  | @@ -783,12 +818,18 @@ export default {
 | 
	
		
			
				|  |  |      this.getWorkDicts("unit").then(res => {
 | 
	
		
			
				|  |  |        this.findObject(this.tableOption.column, "unit").dicData = res.data.data;
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  | +    this.getWorkDicts("pricing_terms").then(res => {
 | 
	
		
			
				|  |  | +      this.priceTermsList = res.data.data;
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +    this.getWorkDicts("payment_term").then(res => {
 | 
	
		
			
				|  |  | +      this.paymentTermList = res.data.data;
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  |      getPorts().then(res => {
 | 
	
		
			
				|  |  |        this.findObject(this.option.column, "portOfLoad").dicData = res.data;
 | 
	
		
			
				|  |  |        this.findObject(this.option.column, "portOfDestination").dicData =
 | 
	
		
			
				|  |  |          res.data;
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  | -    getGoods(1,500).then(res => {
 | 
	
		
			
				|  |  | +    getGoods(1, 500).then(res => {
 | 
	
		
			
				|  |  |        this.goodsoptions = res.data.data.records;
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |    },
 | 
	
	
		
			
				|  | @@ -807,6 +848,20 @@ export default {
 | 
	
		
			
				|  |  |      cellStyle() {
 | 
	
		
			
				|  |  |        return "padding:0;height:40px;";
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    priceTermsChange(row) {
 | 
	
		
			
				|  |  | +      this.priceTermsList.forEach(e => {
 | 
	
		
			
				|  |  | +        if (row == e.dictValue) {
 | 
	
		
			
				|  |  | +          this.form.priceTermsDescription = e.remark;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    paymentTypeChange(row) {
 | 
	
		
			
				|  |  | +      this.paymentTermList.forEach(e => {
 | 
	
		
			
				|  |  | +        if (row == e.dictValue) {
 | 
	
		
			
				|  |  | +          this.form.paymentTypeDescription = e.remark;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      addLibrary() {
 | 
	
		
			
				|  |  |        if (!this.form.corpId) {
 | 
	
		
			
				|  |  |          return this.$message.error("请选择客户名称");
 |