|  | @@ -7,9 +7,9 @@
 | 
	
		
			
				|  |  |                  </el-button>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |              <div class="add-customer-btn">
 | 
	
		
			
				|  |  | -                       <el-button class="el-button--small-yh" style="margin-right: 10px" type="primary" size="small" v-if="form.id"
 | 
	
		
			
				|  |  | -                                  @click="confirmEditing">编辑
 | 
	
		
			
				|  |  | -                       </el-button>
 | 
	
		
			
				|  |  | +                <el-button class="el-button--small-yh" style="margin-right: 10px" type="primary" size="small"
 | 
	
		
			
				|  |  | +                    v-if="form.id" @click="confirmEditing">编辑
 | 
	
		
			
				|  |  | +                </el-button>
 | 
	
		
			
				|  |  |                  <el-button class="el-button--small-yh" type="primary" size="small" v-if="form.statusName != '已入库'"
 | 
	
		
			
				|  |  |                      @click="editCustomer">保存数据
 | 
	
		
			
				|  |  |                  </el-button>
 | 
	
	
		
			
				|  | @@ -34,16 +34,16 @@
 | 
	
		
			
				|  |  |                              @saveColumn="saveColumnTwo('formContacts', 'optionContacts', 'optionContactsBack', 274.1)">
 | 
	
		
			
				|  |  |                              <template slot-scope="{type,size,row,index,disabled}" slot="menu">
 | 
	
		
			
				|  |  |                                  <el-button :size="size" :disabled="disabled" :type="type"
 | 
	
		
			
				|  |  | -                                    :icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'"
 | 
	
		
			
				|  |  | -                                    @click="rowEdit(row, index)">编辑
 | 
	
		
			
				|  |  | +                                    :icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'" @click="rowEdit(row, index)">编辑
 | 
	
		
			
				|  |  |                                  </el-button>
 | 
	
		
			
				|  |  | -                                <el-button icon="el-icon-delete" :size="size" :disabled="disabled || form.statusName == '已入库'" :type="type"
 | 
	
		
			
				|  |  | +                                <el-button icon="el-icon-delete" :size="size"
 | 
	
		
			
				|  |  | +                                    :disabled="disabled || form.statusName == '已入库'" :type="type"
 | 
	
		
			
				|  |  |                                      @click="rowDelBox(row, index)">删除
 | 
	
		
			
				|  |  |                                  </el-button>
 | 
	
		
			
				|  |  |                              </template>
 | 
	
		
			
				|  |  |                              <template slot-scope="{scope,row}" slot="menuLeft">
 | 
	
		
			
				|  |  | -                                <el-button type="primary" icon="el-icon-plus" size="small" 
 | 
	
		
			
				|  |  | -                                    @click="rowAdd(row,score)" :disabled="isrowAdd">添加轮胎</el-button>
 | 
	
		
			
				|  |  | +                                <el-button type="primary" icon="el-icon-plus" size="small" @click="rowAdd(row, score)"
 | 
	
		
			
				|  |  | +                                    :disabled="isrowAdd">添加轮胎</el-button>
 | 
	
		
			
				|  |  |                                  <el-button type="success" size="small" icon="el-icon-bottom" @click="excelBox = true">导入
 | 
	
		
			
				|  |  |                                  </el-button>
 | 
	
		
			
				|  |  |                                  <el-button type="primary" icon="el-icon-printer" size="small"
 | 
	
	
		
			
				|  | @@ -95,7 +95,8 @@ import {
 | 
	
		
			
				|  |  |      revoke,
 | 
	
		
			
				|  |  |      goodsDetail,
 | 
	
		
			
				|  |  |      dotList,
 | 
	
		
			
				|  |  | -    getWarehouseKeeper
 | 
	
		
			
				|  |  | +    getWarehouseKeeper,
 | 
	
		
			
				|  |  | +    dotListAll
 | 
	
		
			
				|  |  |  } from "@/api/tirePartsMall/purchasingManagement/warehouseEntryOrder";
 | 
	
		
			
				|  |  |  import { dateFormat } from "@/util/date";
 | 
	
		
			
				|  |  |  import { getToken } from "@/util/auth";
 | 
	
	
		
			
				|  | @@ -108,7 +109,7 @@ export default {
 | 
	
		
			
				|  |  |              switchDialog: false,
 | 
	
		
			
				|  |  |              activeName: "sale_detail",
 | 
	
		
			
				|  |  |              disabled: false,
 | 
	
		
			
				|  |  | -            isrowAdd:true,
 | 
	
		
			
				|  |  | +            isrowAdd: true,
 | 
	
		
			
				|  |  |              excelBox: false,
 | 
	
		
			
				|  |  |              excelOption: {
 | 
	
		
			
				|  |  |                  submitBtn: false,
 | 
	
	
		
			
				|  | @@ -153,7 +154,7 @@ export default {
 | 
	
		
			
				|  |  |                      {
 | 
	
		
			
				|  |  |                          label: "业务对象",
 | 
	
		
			
				|  |  |                          prop: "customerId",
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          type: 'select',
 | 
	
		
			
				|  |  |                          props: {
 | 
	
		
			
				|  |  |                              label: 'cname',
 | 
	
	
		
			
				|  | @@ -175,12 +176,12 @@ export default {
 | 
	
		
			
				|  |  |                          overHidden: true,
 | 
	
		
			
				|  |  |                          type: 'select',
 | 
	
		
			
				|  |  |                          dicUrl: "/api/blade-sales-part/storageDesc/listAll",
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          props: {
 | 
	
		
			
				|  |  |                              label: 'cname',
 | 
	
		
			
				|  |  |                              value: 'id'
 | 
	
		
			
				|  |  |                          },
 | 
	
		
			
				|  |  | -                        
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                          rules: [
 | 
	
		
			
				|  |  |                              {
 | 
	
		
			
				|  |  |                                  required: true,
 | 
	
	
		
			
				|  | @@ -200,7 +201,7 @@ export default {
 | 
	
		
			
				|  |  |                          label: '库管',
 | 
	
		
			
				|  |  |                          prop: "stockClerkId",
 | 
	
		
			
				|  |  |                          type: 'select',
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          props: {
 | 
	
		
			
				|  |  |                              label: 'realName',
 | 
	
		
			
				|  |  |                              value: 'id'
 | 
	
	
		
			
				|  | @@ -217,7 +218,7 @@ export default {
 | 
	
		
			
				|  |  |                          prop: "goodsTotalNum",
 | 
	
		
			
				|  |  |                          search: false,
 | 
	
		
			
				|  |  |                          overHidden: true,
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          // width: 120,
 | 
	
		
			
				|  |  |                          // rules: [
 | 
	
		
			
				|  |  |                          //     {
 | 
	
	
		
			
				|  | @@ -230,7 +231,7 @@ export default {
 | 
	
		
			
				|  |  |                      {
 | 
	
		
			
				|  |  |                          label: "业务日期",
 | 
	
		
			
				|  |  |                          prop: "createTime",
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          type: "datetime",
 | 
	
		
			
				|  |  |                          value: dateFormat(new Date(), 'yyyy-MM-dd hh:mm:ss'),
 | 
	
		
			
				|  |  |                          format: "yyyy-MM-dd HH:mm",
 | 
	
	
		
			
				|  | @@ -246,16 +247,16 @@ export default {
 | 
	
		
			
				|  |  |                      {
 | 
	
		
			
				|  |  |                          label: "入库单号",
 | 
	
		
			
				|  |  |                          prop: "billno",
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      {
 | 
	
		
			
				|  |  |                          label: "来源单号",
 | 
	
		
			
				|  |  |                          prop: "ordNo",
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                      }, {
 | 
	
		
			
				|  |  |                          label: '备注',
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          prop: "remarks",
 | 
	
		
			
				|  |  |                          type: 'textarea',
 | 
	
		
			
				|  |  |                          span: 16,
 | 
	
	
		
			
				|  | @@ -278,14 +279,14 @@ export default {
 | 
	
		
			
				|  |  |                  index: true,
 | 
	
		
			
				|  |  |                  menu: true,
 | 
	
		
			
				|  |  |                  dialogTop: 25,
 | 
	
		
			
				|  |  | -                disabled:false,
 | 
	
		
			
				|  |  | +                disabled: false,
 | 
	
		
			
				|  |  |                  dialogWidth: "80%",
 | 
	
		
			
				|  |  |                  column: [{
 | 
	
		
			
				|  |  |                      label: '轮胎名称',
 | 
	
		
			
				|  |  |                      prop: 'goodsId',
 | 
	
		
			
				|  |  |                      width: 200,
 | 
	
		
			
				|  |  |                      overHidden: true,
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  |                      filterable: true,
 | 
	
		
			
				|  |  |                      type: 'select',
 | 
	
		
			
				|  |  |                      props: {
 | 
	
	
		
			
				|  | @@ -294,17 +295,69 @@ export default {
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      dicUrl: '/api/blade-sales-part/goodsDesc/goodsListAll'
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  | +                    label: "价格",
 | 
	
		
			
				|  |  | +                    prop: "price",
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  | +                    ovrHidden: true,
 | 
	
		
			
				|  |  | +                    rules: [{
 | 
	
		
			
				|  |  | +                        required: true,
 | 
	
		
			
				|  |  | +                        message: " ",
 | 
	
		
			
				|  |  | +                        trigger: "blur"
 | 
	
		
			
				|  |  | +                    }, {
 | 
	
		
			
				|  |  | +                        validator: (rule, value, callback) => {
 | 
	
		
			
				|  |  | +                            if (value < 0) {
 | 
	
		
			
				|  |  | +                                callback(new Error("单价不能小于0"));
 | 
	
		
			
				|  |  | +                            } else {
 | 
	
		
			
				|  |  | +                                callback();
 | 
	
		
			
				|  |  | +                            }
 | 
	
		
			
				|  |  | +                        },
 | 
	
		
			
				|  |  | +                        trigger: "blur"
 | 
	
		
			
				|  |  | +                    }]
 | 
	
		
			
				|  |  | +                }, {
 | 
	
		
			
				|  |  | +                    label: "实际数量",
 | 
	
		
			
				|  |  | +                    prop: "sendNum",
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  | +                    overHidden: true,
 | 
	
		
			
				|  |  | +                    rules: [{
 | 
	
		
			
				|  |  | +                        required: true,
 | 
	
		
			
				|  |  | +                        message: " ",
 | 
	
		
			
				|  |  | +                        trigger: "blur"
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                        validator: (rule, value, callback) => {
 | 
	
		
			
				|  |  | +                            if (value < 0) {
 | 
	
		
			
				|  |  | +                                callback(new Error("实际数量不能小于0"));
 | 
	
		
			
				|  |  | +                            } else {
 | 
	
		
			
				|  |  | +                                callback();
 | 
	
		
			
				|  |  | +                            }
 | 
	
		
			
				|  |  | +                        },
 | 
	
		
			
				|  |  | +                        trigger: "blur"
 | 
	
		
			
				|  |  | +                    }]
 | 
	
		
			
				|  |  | +                }, {
 | 
	
		
			
				|  |  | +                    label: "批次号",
 | 
	
		
			
				|  |  | +                    prop: "dot",
 | 
	
		
			
				|  |  | +                    type: "select",
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  | +                    allowCreate: true,
 | 
	
		
			
				|  |  | +                    filterable: true,
 | 
	
		
			
				|  |  | +                    dicData: [],
 | 
	
		
			
				|  |  | +                    props: {
 | 
	
		
			
				|  |  | +                        label: "dot",
 | 
	
		
			
				|  |  | +                        value: "dot"
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    overHidden: true
 | 
	
		
			
				|  |  | +                }, {
 | 
	
		
			
				|  |  |                      label: '物料编码',
 | 
	
		
			
				|  |  |                      prop: 'goodsNo',
 | 
	
		
			
				|  |  |                      overHidden: true,
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  |                      width: 140
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                      label: "品牌",
 | 
	
		
			
				|  |  |                      prop: 'brandId',
 | 
	
		
			
				|  |  |                      width: 100,
 | 
	
		
			
				|  |  |                      overHidden: true,
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  |                      type: 'select',
 | 
	
		
			
				|  |  |                      props: {
 | 
	
		
			
				|  |  |                          label: 'cname',
 | 
	
	
		
			
				|  | @@ -315,74 +368,41 @@ export default {
 | 
	
		
			
				|  |  |                      label: "规格型号",
 | 
	
		
			
				|  |  |                      prop: "propertyName",
 | 
	
		
			
				|  |  |                      overHidden: true,
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | -                    rules: [{
 | 
	
		
			
				|  |  | -                        required: true,
 | 
	
		
			
				|  |  | -                        message: " ",
 | 
	
		
			
				|  |  | -                        trigger: "blur"
 | 
	
		
			
				|  |  | -                    }]
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  | +                    // rules: [{
 | 
	
		
			
				|  |  | +                    //     required: true,
 | 
	
		
			
				|  |  | +                    //     message: " ",
 | 
	
		
			
				|  |  | +                    //     trigger: "blur"
 | 
	
		
			
				|  |  | +                    // }]
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                      label: "花纹",
 | 
	
		
			
				|  |  |                      prop: "pattern",
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  |                      overHidden: true
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                      label: "轮胎描述",
 | 
	
		
			
				|  |  |                      prop: "goodsDescription",
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | -                    overHidden: true
 | 
	
		
			
				|  |  | -                }, {
 | 
	
		
			
				|  |  | -                    label: "批次号",
 | 
	
		
			
				|  |  | -                    prop: "dot",
 | 
	
		
			
				|  |  | -                    type: "select",
 | 
	
		
			
				|  |  |                      disabled: false,
 | 
	
		
			
				|  |  | -                    allowCreate: true,
 | 
	
		
			
				|  |  | -                    filterable: true,
 | 
	
		
			
				|  |  | -                    dicData: [],
 | 
	
		
			
				|  |  | -                    props: {
 | 
	
		
			
				|  |  | -                        label: "dot",
 | 
	
		
			
				|  |  | -                        value: "dot"
 | 
	
		
			
				|  |  | -                    },
 | 
	
		
			
				|  |  |                      overHidden: true
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                      label: "单位",
 | 
	
		
			
				|  |  |                      prop: 'units',
 | 
	
		
			
				|  |  |                      type: "select",
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  |                      props: {
 | 
	
		
			
				|  |  |                          label: "dictValue",
 | 
	
		
			
				|  |  |                          value: "dictValue"
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      dicUrl: "/api/blade-system/dict-biz/dictionary?code=unit"
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  | -                    label: "单价",
 | 
	
		
			
				|  |  | -                    prop: "price",
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | -                    ovrHidden: true,
 | 
	
		
			
				|  |  | -                    rules: [{
 | 
	
		
			
				|  |  | -                        required: true,
 | 
	
		
			
				|  |  | -                        message: " ",
 | 
	
		
			
				|  |  | -                        trigger: "blur"
 | 
	
		
			
				|  |  | -                    }]
 | 
	
		
			
				|  |  | -                }, {
 | 
	
		
			
				|  |  |                      label: "入库数量",
 | 
	
		
			
				|  |  |                      prop: "goodsNum",
 | 
	
		
			
				|  |  |                      disabled: true,
 | 
	
		
			
				|  |  |                      ovrHidden: true,
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  | -                    label: "实际数量",
 | 
	
		
			
				|  |  | -                    prop: "sendNum",
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | -                    overHidden: true,
 | 
	
		
			
				|  |  | -                    rules: [{
 | 
	
		
			
				|  |  | -                        required: true,
 | 
	
		
			
				|  |  | -                        message: " ",
 | 
	
		
			
				|  |  | -                        trigger: "blur"
 | 
	
		
			
				|  |  | -                    }]
 | 
	
		
			
				|  |  | -                }, {
 | 
	
		
			
				|  |  |                      label: "备注",
 | 
	
		
			
				|  |  |                      prop: "remarks",
 | 
	
		
			
				|  |  | -                    disabled:false,
 | 
	
		
			
				|  |  | +                    disabled: false,
 | 
	
		
			
				|  |  |                      overHidde: true
 | 
	
		
			
				|  |  |                  }]
 | 
	
		
			
				|  |  |              },
 | 
	
	
		
			
				|  | @@ -454,7 +474,7 @@ export default {
 | 
	
		
			
				|  |  |                      {
 | 
	
		
			
				|  |  |                          prop: "remarks",
 | 
	
		
			
				|  |  |                          label: "备注",
 | 
	
		
			
				|  |  | -                        disabled:false,
 | 
	
		
			
				|  |  | +                        disabled: false,
 | 
	
		
			
				|  |  |                          overHidden: true,
 | 
	
		
			
				|  |  |                          cell: true
 | 
	
		
			
				|  |  |                      }
 | 
	
	
		
			
				|  | @@ -501,13 +521,17 @@ export default {
 | 
	
		
			
				|  |  |      async created() {
 | 
	
		
			
				|  |  |          this.findObject(this.optionContactsBack.column, "goodsId").change = ({ value, column }) => {
 | 
	
		
			
				|  |  |              console.log(value);
 | 
	
		
			
				|  |  | -            console.log('this.formContacts.goodsId',this.formContacts.goodsId);
 | 
	
		
			
				|  |  | +            console.log('this.formContacts.goodsId', this.formContacts.goodsId);
 | 
	
		
			
				|  |  |              if (this.formContacts.goodsId !== value) {
 | 
	
		
			
				|  |  | +                dotListAll({
 | 
	
		
			
				|  |  | +                    storageId: this.form.storageId,
 | 
	
		
			
				|  |  | +                    goodsId: this.formContacts.goodsId
 | 
	
		
			
				|  |  | +            }).then(res=>{this.formContacts.price = res.data.data[0].inventoryCostPrice,console.log(res)})
 | 
	
		
			
				|  |  |                  goodsDetail({ id: value }).then(res => {
 | 
	
		
			
				|  |  |                      this.formContacts.goodsNo = res.data.data.code
 | 
	
		
			
				|  |  |                      this.formContacts.brandId = res.data.data.brandId
 | 
	
		
			
				|  |  |                      this.formContacts.brandName = res.data.data.brandName
 | 
	
		
			
				|  |  | -                    
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                      this.formContacts.propertyName = res.data.data.specificationAndModel
 | 
	
		
			
				|  |  |                      this.formContacts.pattern = res.data.data.brandItem
 | 
	
		
			
				|  |  |                      this.formContacts.goodsDescription = res.data.data.goodsDescription
 | 
	
	
		
			
				|  | @@ -530,13 +554,17 @@ export default {
 | 
	
		
			
				|  |  |          this.optionContacts = await this.getColumnData(this.getColumnName(274.1), this.optionContactsBack);
 | 
	
		
			
				|  |  |          this.findObject(this.optionContacts.column, "goodsId").change = ({ value, column }) => {
 | 
	
		
			
				|  |  |              console.log(value);
 | 
	
		
			
				|  |  | -            console.log('this.formContacts.goodsId',this.formContacts.goodsId);
 | 
	
		
			
				|  |  | +            console.log('this.formContacts.goodsId', this.formContacts.goodsId);
 | 
	
		
			
				|  |  |              if (this.formContacts.goodsId !== value) {
 | 
	
		
			
				|  |  | +                dotListAll({
 | 
	
		
			
				|  |  | +                    storageId: this.form.storageId,
 | 
	
		
			
				|  |  | +                    goodsId: this.formContacts.goodsId
 | 
	
		
			
				|  |  | +            }).then(res=>{ this.formContacts.price = res.data.data[0].inventoryCostPrice})
 | 
	
		
			
				|  |  |                  goodsDetail({ id: value }).then(res => {
 | 
	
		
			
				|  |  |                      this.formContacts.goodsNo = res.data.data.code
 | 
	
		
			
				|  |  |                      this.formContacts.brandId = res.data.data.brandId
 | 
	
		
			
				|  |  |                      this.formContacts.brandName = res.data.data.brandName
 | 
	
		
			
				|  |  | -                    
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                      this.formContacts.propertyName = res.data.data.specificationAndModel
 | 
	
		
			
				|  |  |                      this.formContacts.pattern = res.data.data.brandItem
 | 
	
		
			
				|  |  |                      this.formContacts.goodsDescription = res.data.data.goodsDescription
 | 
	
	
		
			
				|  | @@ -561,15 +589,15 @@ export default {
 | 
	
		
			
				|  |  |          this.key++
 | 
	
		
			
				|  |  |          if (this.onLoad.id && this.detailData.id) {
 | 
	
		
			
				|  |  |              this.refresh(this.onLoad.id, true)
 | 
	
		
			
				|  |  | -            this.$set(this.optionForm,'disabled',true)
 | 
	
		
			
				|  |  | -            this.$set(this.optionContactsBack,'disabled',true)
 | 
	
		
			
				|  |  | +            this.$set(this.optionForm, 'disabled', true)
 | 
	
		
			
				|  |  | +            this.$set(this.optionContactsBack, 'disabled', true)
 | 
	
		
			
				|  |  |          } else if (this.onLoad.id) {
 | 
	
		
			
				|  |  |              console.log(2);
 | 
	
		
			
				|  |  |              this.refresh(this.onLoad.id, true)
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if(!this.onLoad.id){
 | 
	
		
			
				|  |  | +        if (!this.onLoad.id) {
 | 
	
		
			
				|  |  |              console.log(3);
 | 
	
		
			
				|  |  | -            this.isrowAdd= false
 | 
	
		
			
				|  |  | +            this.isrowAdd = false
 | 
	
		
			
				|  |  |              // this.$set(this.optionForm,'disabled',false)
 | 
	
		
			
				|  |  |              // this.$set(this.optionContacts,'disabled',false)
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -585,13 +613,13 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      methods: {
 | 
	
		
			
				|  |  | -        rowAdd(row,score){
 | 
	
		
			
				|  |  | +        rowAdd(row, score) {
 | 
	
		
			
				|  |  |              console.log(123214);
 | 
	
		
			
				|  |  |              this.optionContactsBack.column.forEach(its => {
 | 
	
		
			
				|  |  | -                if (its.prop == 'goodsNum') {
 | 
	
		
			
				|  |  | -                    this.$set(its,'disabled',true)
 | 
	
		
			
				|  |  | +                if (its.prop == 'goodsNum' || its.prop == 'goodsNo' || its.prop == 'brandId' || its.prop == 'propertyName' || its.prop == 'pattern' || its.prop == 'goodsDescription' || its.prop == 'units') {
 | 
	
		
			
				|  |  | +                    this.$set(its, 'disabled', true)
 | 
	
		
			
				|  |  |                  } else {
 | 
	
		
			
				|  |  | -                    this.$set(its,'disabled',false)
 | 
	
		
			
				|  |  | +                    this.$set(its, 'disabled', false)
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |              this.$refs.formContacts.rowAdd()
 | 
	
	
		
			
				|  | @@ -639,42 +667,42 @@ export default {
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          //编辑
 | 
	
		
			
				|  |  | -        confirmEditing(){
 | 
	
		
			
				|  |  | -            if(this.form.statusName == '待入库'){
 | 
	
		
			
				|  |  | +        confirmEditing() {
 | 
	
		
			
				|  |  | +            if (this.form.statusName == '待入库') {
 | 
	
		
			
				|  |  |                  this.isrowAdd = false
 | 
	
		
			
				|  |  | -                this.$set(this.optionForm,'disabled',false)
 | 
	
		
			
				|  |  | -                this.$set(this.optionContacts,'disabled',false)
 | 
	
		
			
				|  |  | -                this.optionForm.column.forEach(item=>{
 | 
	
		
			
				|  |  | -                    if(item.prop == 'remarks'  || item.prop == 'createTime' || item.prop == 'stockClerkId'){
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',false)
 | 
	
		
			
				|  |  | -                    }else{
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',true)
 | 
	
		
			
				|  |  | +                this.$set(this.optionForm, 'disabled', false)
 | 
	
		
			
				|  |  | +                this.$set(this.optionContacts, 'disabled', false)
 | 
	
		
			
				|  |  | +                this.optionForm.column.forEach(item => {
 | 
	
		
			
				|  |  | +                    if (item.prop == 'remarks' || item.prop == 'createTime' || item.prop == 'stockClerkId') {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', false)
 | 
	
		
			
				|  |  | +                    } else {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', true)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  | -                this.optionContacts.column.forEach(item=>{
 | 
	
		
			
				|  |  | -                    if(item.prop == 'remarks'){
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',false)
 | 
	
		
			
				|  |  | -                    }else{
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',true)
 | 
	
		
			
				|  |  | +                this.optionContacts.column.forEach(item => {
 | 
	
		
			
				|  |  | +                    if (item.prop == 'remarks') {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', false)
 | 
	
		
			
				|  |  | +                    } else {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', true)
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  | -            }else if(this.form.statusName == '已入库'){
 | 
	
		
			
				|  |  | -                this.$set(this.optionForm,'disabled',false)
 | 
	
		
			
				|  |  | -                this.$set(this.optionContactsBack,'disabled',false)
 | 
	
		
			
				|  |  | -                this.optionForm.column.forEach(item=>{
 | 
	
		
			
				|  |  | -                    if(item.prop == 'remarks'){
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',false)
 | 
	
		
			
				|  |  | -                    }else{
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',true)
 | 
	
		
			
				|  |  | +            } else if (this.form.statusName == '已入库') {
 | 
	
		
			
				|  |  | +                this.$set(this.optionForm, 'disabled', false)
 | 
	
		
			
				|  |  | +                this.$set(this.optionContactsBack, 'disabled', false)
 | 
	
		
			
				|  |  | +                this.optionForm.column.forEach(item => {
 | 
	
		
			
				|  |  | +                    if (item.prop == 'remarks') {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', false)
 | 
	
		
			
				|  |  | +                    } else {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', true)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  | -                this.optionContactsBack.column.forEach(item=>{
 | 
	
		
			
				|  |  | -                    if(item.prop == 'remarks'){
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',false)
 | 
	
		
			
				|  |  | -                    }else{
 | 
	
		
			
				|  |  | -                        this.$set(item,'disabled',true)
 | 
	
		
			
				|  |  | +                this.optionContactsBack.column.forEach(item => {
 | 
	
		
			
				|  |  | +                    if (item.prop == 'remarks') {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', false)
 | 
	
		
			
				|  |  | +                    } else {
 | 
	
		
			
				|  |  | +                        this.$set(item, 'disabled', true)
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -716,7 +744,7 @@ export default {
 | 
	
		
			
				|  |  |                          spinner: 'el-icon-loading',
 | 
	
		
			
				|  |  |                          background: 'rgba(255,255,255,0.7)'
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  | -                    this.form.customerName=this.form.$customerId
 | 
	
		
			
				|  |  | +                    this.form.customerName = this.form.$customerId
 | 
	
		
			
				|  |  |                      submit({
 | 
	
		
			
				|  |  |                          ...this.form,
 | 
	
		
			
				|  |  |                          bizTypeName: "SHGD"
 | 
	
	
		
			
				|  | @@ -747,10 +775,10 @@ export default {
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          //编辑
 | 
	
		
			
				|  |  | -        rowEdit(row,index){
 | 
	
		
			
				|  |  | -            console.log(row,index);
 | 
	
		
			
				|  |  | +        rowEdit(row, index) {
 | 
	
		
			
				|  |  | +            console.log(row, index);
 | 
	
		
			
				|  |  |              this.confirmEditing()
 | 
	
		
			
				|  |  | -            this.$refs.formContacts.rowEdit(row,index)
 | 
	
		
			
				|  |  | +            this.$refs.formContacts.rowEdit(row, index)
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          rowDelBox(row, index) {
 | 
	
		
			
				|  |  |              this.$confirm("确定将选择数据删除?", {
 |