采购合同接口对接
This commit is contained in:
		
							parent
							
								
									fef91dd9d7
								
							
						
					
					
						commit
						dd1ac44876
					
				| 
						 | 
					@ -1,206 +1,339 @@
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div class="app-container">
 | 
					    <div style="padding: 10px;background: #E5EBF6;min-height: 830px;">
 | 
				
			||||||
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
 | 
					        <div style="background: #FFF;padding: 10px;border-radius: 10px;margin-bottom: 20px;"> 
 | 
				
			||||||
              
 | 
					          <el-descriptions style="margin-bottom: 20px;" title="基本信息" :column="4" size="medium" border>  
 | 
				
			||||||
      <el-form-item>
 | 
					              <el-descriptions-item>
 | 
				
			||||||
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
 | 
					                  <template slot="label">合同编号</template>
 | 
				
			||||||
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
 | 
					                  {{baseInfo.contractCode}}
 | 
				
			||||||
      </el-form-item>
 | 
					              </el-descriptions-item> 
 | 
				
			||||||
    </el-form>
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">合同标题</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.contractTitle }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">所属区域</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.areaName }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">供应商</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.supplierName }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">配送食堂</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.canteenName }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">签订日期</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.contractSigningTime }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">合同生效周期</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.contractStartTime }} - {{ baseInfo.contractEndTime }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">合同状态</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.deptName }}
 | 
				
			||||||
 | 
					                  <el-tag size="small" v-if="baseInfo.contractStatus==1">待生效</el-tag>
 | 
				
			||||||
 | 
					                  <el-tag size="small" v-if="baseInfo.contractStatus==2">履行中</el-tag>
 | 
				
			||||||
 | 
					                  <el-tag size="small" v-if="baseInfo.contractStatus==3">已失效</el-tag>
 | 
				
			||||||
 | 
					                  <el-tag size="small" v-if="baseInfo.contractStatus==4">已终止</el-tag>  
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">合同附件</template>
 | 
				
			||||||
 | 
					                  <!-- {{ baseInfo.deptName }} -->
 | 
				
			||||||
 | 
					              </el-descriptions-item>  
 | 
				
			||||||
 | 
					          </el-descriptions>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <el-row :gutter="10" class="mb8">
 | 
					          <el-descriptions style="margin-bottom: 20px;" title="付款信息" :column="4" size="medium" border>  
 | 
				
			||||||
      <el-col :span="1.5">
 | 
					              <el-descriptions-item>
 | 
				
			||||||
        <el-button
 | 
					                  <template slot="label">付款方式</template>
 | 
				
			||||||
          type="primary"
 | 
					                  <span v-if="baseInfo.payMoneyStyle==1">一次性付款</span>
 | 
				
			||||||
          plain
 | 
					                  <span v-if="baseInfo.payMoneyStyle==2">分期付款</span>
 | 
				
			||||||
          icon="el-icon-plus"
 | 
					              </el-descriptions-item> 
 | 
				
			||||||
          size="mini"
 | 
					              <el-descriptions-item>
 | 
				
			||||||
          @click="handleAdd"
 | 
					                  <template slot="label">付款日期</template>
 | 
				
			||||||
        >新增</el-button>
 | 
					                  {{ baseInfo.payMoneyDate }}
 | 
				
			||||||
      </el-col>  
 | 
					              </el-descriptions-item> 
 | 
				
			||||||
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
 | 
					              <el-descriptions-item>
 | 
				
			||||||
    </el-row>
 | 
					                  <template slot="label">收款银行</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.collectMoneyBank }}
 | 
				
			||||||
 | 
					              </el-descriptions-item> 
 | 
				
			||||||
 | 
					              <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">收款账户名称</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.collectMoneyAccountName }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>
 | 
				
			||||||
 | 
					                <el-descriptions-item>
 | 
				
			||||||
 | 
					                  <template slot="label">备注</template>
 | 
				
			||||||
 | 
					                  {{ baseInfo.remark }}
 | 
				
			||||||
 | 
					              </el-descriptions-item>  
 | 
				
			||||||
 | 
					          </el-descriptions>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <el-table v-loading="loading" :data="tableListData" height="800">
 | 
					        <div style="width: 100%;height: 450px;padding: 10px;border-radius: 10px;margin-bottom: 10px;background: #FFF;">
 | 
				
			||||||
      <el-table-column label="序号" align="center" width="80" type="index">
 | 
					            <div style="width: 100%;display: flex;justify-content: space-between;align-items: center;margin-bottom: 10px;">
 | 
				
			||||||
        <template slot-scope="scope">
 | 
					                <div>
 | 
				
			||||||
          <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
 | 
					                    货品信息
 | 
				
			||||||
        </template>
 | 
					                </div> 
 | 
				
			||||||
      </el-table-column>
 | 
					            </div>
 | 
				
			||||||
      <el-table-column label="编号" align="center" prop="canteenNum" :show-overflow-tooltip="true" width="100" fixed="left"/>
 | 
					            <div style="width: 100%;height: 400px;overflow-y: auto;">
 | 
				
			||||||
      <el-table-column label="名称" align="center" prop="canteenName" :show-overflow-tooltip="true" width="150" fixed="left"/>
 | 
					                <el-table v-loading="loading" :data="contractMaterialList" ref="multipleTable" height="380" :row-key="(row)=>{return row.materialId}" @selection-change="handleSelectionChange">
 | 
				
			||||||
      <el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
 | 
					                    <el-table-column type="selection" width="50" align="center" :reserve-selection="true" />
 | 
				
			||||||
        <template slot-scope="scope"> 
 | 
					                    <el-table-column label="序号" align="center" width="80" type="index" />
 | 
				
			||||||
          <el-button
 | 
					                    <!-- <el-table-column label="图片" align="center" prop="" :show-overflow-tooltip="true" />  -->
 | 
				
			||||||
            size="mini"
 | 
					                    <el-table-column label="货品编码" align="center" prop="materialCode" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
            type="text"
 | 
					                    <el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
            icon="el-icon-edit"
 | 
					                    <el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
            @click="handleUpdate(scope.row)" 
 | 
					                    <el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
          >编辑</el-button>
 | 
					                    <el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
 | 
				
			||||||
          <el-button
 | 
					                        <!-- <template slot-scope="scope">
 | 
				
			||||||
            size="mini"
 | 
					                            <span v-if="scope.row.salesMode==1">按份</span>
 | 
				
			||||||
            type="text"
 | 
					                            <span v-if="scope.row.salesMode==2">称重</span>
 | 
				
			||||||
            icon="el-icon-delete"
 | 
					                        </template> -->
 | 
				
			||||||
            @click="handleDelete(scope.row)" 
 | 
					                    </el-table-column> 
 | 
				
			||||||
          >删除</el-button>
 | 
					                    <el-table-column label="单价(元)" align="center" prop="singlePrice" :show-overflow-tooltip="true">
 | 
				
			||||||
        </template>
 | 
					                        <template slot-scope="scope">
 | 
				
			||||||
      </el-table-column>
 | 
					                          <span>{{ (scope.row.singlePrice/100).toFixed(2) }}</span>
 | 
				
			||||||
    </el-table>
 | 
					                        </template>
 | 
				
			||||||
 | 
					                    </el-table-column> 
 | 
				
			||||||
    <pagination
 | 
					                    <el-table-column label="数量" align="center" prop="orderNum" :show-overflow-tooltip="true"></el-table-column> 
 | 
				
			||||||
      v-show="total>0"
 | 
					                    <el-table-column label="总金额(元)" align="center" prop="" :show-overflow-tooltip="true">
 | 
				
			||||||
      :total="total"
 | 
					                        <template slot-scope="scope">
 | 
				
			||||||
      :page.sync="queryParams.pageNum"
 | 
					                            <span>{{ scope.row.orderNum*scope.row.singlePrice }}</span>
 | 
				
			||||||
      :limit.sync="queryParams.pageSize"
 | 
					                        </template>
 | 
				
			||||||
      @pagination="getList"
 | 
					                    </el-table-column> 
 | 
				
			||||||
    />
 | 
					                    <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"></el-table-column>
 | 
				
			||||||
 | 
					                </el-table>
 | 
				
			||||||
    <!-- 添加或修改参数配置对话框 -->
 | 
					            </div>
 | 
				
			||||||
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
 | 
					        </div>
 | 
				
			||||||
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
 | 
					        <div style="width: 100%;height: 80px;padding: 10px;background: #FFF;border-radius: 10px;display: flex;align-items: center;justify-content: center;">
 | 
				
			||||||
 | 
					            <!-- <el-button type="primary" @click="confirmSave" :loading="loadingBtn">保存草稿</el-button> -->
 | 
				
			||||||
 | 
					            <el-button @click="jumpList">返回</el-button>
 | 
				
			||||||
 | 
					        </div> 
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
         
 | 
					 | 
				
			||||||
      </el-form>
 | 
					 | 
				
			||||||
      <div slot="footer" class="dialog-footer">
 | 
					 | 
				
			||||||
        <el-button type="primary" @click="submitForm">确 定</el-button>
 | 
					 | 
				
			||||||
        <el-button @click="cancel">取 消</el-button>
 | 
					 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
    </el-dialog>
 | 
					 | 
				
			||||||
  </div>
 | 
					 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
<script> 
 | 
					<script>
 | 
				
			||||||
import { getPageCanteenApi } from "@/api/base/canteen";
 | 
					import { systemAreaTreeApi,getCanteenByAreaApi,getStallByCanteenApi } from "@/api/base/stall"; 
 | 
				
			||||||
 | 
					import { systemMaterialTreeApi,getMaterialListApi,supplierPageApi } from "@/api/foodManage/purchaseManage"; 
 | 
				
			||||||
 | 
					import { getPurchaseContractInfoApi,addPurchaseContractApi,editPurchaseContractApi,delPurchaseContractApi } from "@/api/foodManage/purchaseManage";
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: "",
 | 
					    name: "ContractDetail",
 | 
				
			||||||
  dicts: [],
 | 
					    dicts: [],
 | 
				
			||||||
  data() {
 | 
					    data() {
 | 
				
			||||||
    return {
 | 
					      return {
 | 
				
			||||||
      // 遮罩层
 | 
					        pageJson:{},//页面传参
 | 
				
			||||||
      loading: true,
 | 
					        loading:false,
 | 
				
			||||||
      // 选中数组
 | 
					        loadingBtn:false,
 | 
				
			||||||
      ids: [],
 | 
					        baseInfo: { 
 | 
				
			||||||
      // 非单个禁用
 | 
					            contractTitle:undefined,
 | 
				
			||||||
      single: true,
 | 
					            contractType:undefined,
 | 
				
			||||||
      // 非多个禁用
 | 
					            areaId:undefined,
 | 
				
			||||||
      multiple: true,
 | 
					            canteenId:undefined, 
 | 
				
			||||||
      // 显示搜索条件
 | 
					            dateRange:[], 
 | 
				
			||||||
      showSearch: true,
 | 
					        },
 | 
				
			||||||
      // 总条数
 | 
					        // 表单校验
 | 
				
			||||||
      total: 0,
 | 
					        baseRules: {
 | 
				
			||||||
      //表格数据
 | 
					            contractTitle: [
 | 
				
			||||||
      tableListData: [],
 | 
					                { required: true, message: "菜谱名称不能为空", trigger: "blur" }
 | 
				
			||||||
      // 弹出层标题
 | 
					            ],
 | 
				
			||||||
      title: "",
 | 
					            areaId: [
 | 
				
			||||||
      // 是否显示弹出层
 | 
					                { required: true, message: "所属区域不能为空", trigger: "change" }
 | 
				
			||||||
      open: false, 
 | 
					            ],
 | 
				
			||||||
      // 查询参数
 | 
					            canteenId: [
 | 
				
			||||||
      queryParams: {
 | 
					                { required: true, message: "所属食堂不能为空", trigger: "change" }
 | 
				
			||||||
        pageNum: 1,
 | 
					            ],
 | 
				
			||||||
        pageSize: 10,
 | 
					            supplierId: [
 | 
				
			||||||
        canteenName: undefined,
 | 
					                { required: true, message: "供应商不能为空", trigger: "change" }
 | 
				
			||||||
        areaNameStr: undefined, 
 | 
					            ],
 | 
				
			||||||
      },
 | 
					            contractSigningTime: [
 | 
				
			||||||
      // 表单参数
 | 
					                { required: true, message: "签订日期不能为空", trigger: "change" }
 | 
				
			||||||
      form: {},
 | 
					            ],
 | 
				
			||||||
      // 表单校验
 | 
					            dateRange: [
 | 
				
			||||||
      rules: {
 | 
					                { required: true, message: "合同生效周期不能为空", trigger: "change" }
 | 
				
			||||||
      //   canteenName: [
 | 
					            ]
 | 
				
			||||||
      //     { required: true, message: "字典名称不能为空", trigger: "blur" }
 | 
					        },
 | 
				
			||||||
      //   ],
 | 
					        treeAreaOptions:[],
 | 
				
			||||||
      //   dictType: [
 | 
					        canteenOptions:[],
 | 
				
			||||||
      //     { required: true, message: "字典类型不能为空", trigger: "blur" }
 | 
					        supplierOptions:[],
 | 
				
			||||||
      //   ]
 | 
					        stallOptions:[],
 | 
				
			||||||
      }
 | 
					        
 | 
				
			||||||
    };
 | 
					        pickerOptions: { 
 | 
				
			||||||
  },
 | 
					            disabledDate(v) {
 | 
				
			||||||
  created() { 
 | 
					                return v.getTime() < (new Date().getTime() - 86400000);//  - 86400000是否包括当天
 | 
				
			||||||
  //   this.getList();
 | 
					            }
 | 
				
			||||||
  },
 | 
					        },
 | 
				
			||||||
  methods: { 
 | 
					        contractMaterialList:[],  
 | 
				
			||||||
      /** 搜索按钮操作 */
 | 
					        openDialog:false,
 | 
				
			||||||
      handleQuery() {
 | 
					        materialTreeOptions:[], 
 | 
				
			||||||
          this.queryParams.pageNum = 1;
 | 
					        // 查询参数
 | 
				
			||||||
          this.getList();
 | 
					        queryParams: {
 | 
				
			||||||
      },
 | 
					            pageNum: 1,
 | 
				
			||||||
      /** 重置按钮操作 */
 | 
					            pageSize: 10, 
 | 
				
			||||||
      resetQuery() { 
 | 
					        },
 | 
				
			||||||
          this.resetForm("queryForm");
 | 
					        // 总条数
 | 
				
			||||||
          this.handleQuery();
 | 
					        total: 0,
 | 
				
			||||||
      },
 | 
					        //表格数据
 | 
				
			||||||
      /** 查询列表 */
 | 
					        tableListData: [],
 | 
				
			||||||
      getList() {
 | 
					        batchChosenMaterial:[],
 | 
				
			||||||
          this.loading = true;
 | 
					        noMaterial:false,
 | 
				
			||||||
          let param = {
 | 
					      };
 | 
				
			||||||
            "current": this.queryParams.pageNum, 
 | 
					    },
 | 
				
			||||||
            "size": this.queryParams.pageSize,  
 | 
					    created() { 
 | 
				
			||||||
          }
 | 
					        if(this.$route.query.pageJson){ 
 | 
				
			||||||
          getPageCanteenApi(param).then(response => {
 | 
					            this.pageJson = JSON.parse(this.$route.query.pageJson)
 | 
				
			||||||
              this.tableListData = response.records;
 | 
					            this.getContractInfo()
 | 
				
			||||||
              this.total = Number(response.total);
 | 
					        }
 | 
				
			||||||
              this.loading = false;
 | 
					    },
 | 
				
			||||||
          });
 | 
					    methods: { 
 | 
				
			||||||
      },  
 | 
					        // 返回列表页
 | 
				
			||||||
      /** 新增按钮操作 */
 | 
					        jumpList() {
 | 
				
			||||||
      handleAdd() {
 | 
					            const obj = { path: "foodManage/purchaseManage/contractDetail" };
 | 
				
			||||||
          this.reset();
 | 
					            this.$tab.closeOpenPage(obj);
 | 
				
			||||||
          this.open = true;
 | 
					            this.$router.replace({ path: "/foodManage/purchaseManage/contractList" }); // 要打开的页面 
 | 
				
			||||||
          this.title = "新增";
 | 
					        },
 | 
				
			||||||
      },
 | 
					        getContractInfo(){
 | 
				
			||||||
      /** 修改按钮操作 */
 | 
					            console.log(this.pageJson) 
 | 
				
			||||||
      handleUpdate(row) {
 | 
					            let param = {
 | 
				
			||||||
          this.reset();
 | 
					                contractId:this.pageJson.contractId
 | 
				
			||||||
          // const dictId = row.dictId || this.ids
 | 
					            }
 | 
				
			||||||
          // getType(dictId).then(response => {
 | 
					            //查询查询食堂下拉结构
 | 
				
			||||||
              // this.form = response.data;
 | 
					            getPurchaseContractInfoApi(param).then((response) => {
 | 
				
			||||||
              this.open = true;
 | 
					                this.baseInfo = response.data;
 | 
				
			||||||
              this.title = "修改";
 | 
					                this.$set(this.baseInfo,'dateRange',[this.baseInfo.contractStartTime,this.baseInfo.contractEndTime]) 
 | 
				
			||||||
          // });
 | 
					                this.contractMaterialList = this.baseInfo.purchaseContractDetailList; 
 | 
				
			||||||
      },
 | 
					                this.$set(this.baseInfo,"contractAmount",this.baseInfo.contractAmount/100)
 | 
				
			||||||
      // 取消按钮
 | 
					                getCanteenByAreaApi({areaId:this.baseInfo.areaId}).then((response) => {
 | 
				
			||||||
      cancel() {
 | 
					                    this.canteenOptions=response.rows||[];
 | 
				
			||||||
          this.open = false;
 | 
					                    this.$set(this.baseInfo,"canteenId",this.baseInfo.canteenId)
 | 
				
			||||||
          this.reset();
 | 
					                });
 | 
				
			||||||
      },
 | 
					                supplierPageApi({ isPaging:1,areaIdList:[this.baseInfo.areaId] }).then((response) => {
 | 
				
			||||||
      // 表单重置
 | 
					                    this.supplierOptions = response.rows||[];
 | 
				
			||||||
      reset() {
 | 
					                    this.$set(this.baseInfo,'supplierId',this.baseInfo.supplierId) 
 | 
				
			||||||
          this.form = {};
 | 
					                });   
 | 
				
			||||||
          this.resetForm("form");
 | 
					            }); 
 | 
				
			||||||
      }, 
 | 
					        },  
 | 
				
			||||||
      /** 提交按钮 */
 | 
					        // 多选框选中数据
 | 
				
			||||||
      submitForm: function() {
 | 
					        handleSelectionChange(selection) {
 | 
				
			||||||
          this.$refs["form"].validate(valid => {
 | 
					            // this.batchIds1 = selection.map(item => item.tradeId)
 | 
				
			||||||
          if (valid) {
 | 
					            // this.single = selection.length !== 1
 | 
				
			||||||
              if (this.form.dictId != undefined) {
 | 
					            // this.multiple = !selection.length
 | 
				
			||||||
                  // updateType(this.form).then(response => {
 | 
					        },
 | 
				
			||||||
                  //     this.$modal.msgSuccess("修改成功");
 | 
					        
 | 
				
			||||||
                  //     this.open = false;
 | 
					        //日期
 | 
				
			||||||
                  //     this.getList();
 | 
					        formatDate(date) {
 | 
				
			||||||
                  // });
 | 
					            // 格式化为 YYYY-MM-DD
 | 
				
			||||||
              } else {
 | 
					            date = new Date(date)
 | 
				
			||||||
                  // addType(this.form).then(response => {
 | 
					            const year = date.getFullYear();
 | 
				
			||||||
                  //     this.$modal.msgSuccess("新增成功");
 | 
					            const month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从0开始
 | 
				
			||||||
                  //     this.open = false;
 | 
					            const day = String(date.getDate()).padStart(2, '0');
 | 
				
			||||||
                  //     this.getList();
 | 
					            return `${year}-${month}-${day}`;
 | 
				
			||||||
                  // });
 | 
					        },
 | 
				
			||||||
              }
 | 
					        //日期时间
 | 
				
			||||||
          }
 | 
					        formatDateTime(date) {
 | 
				
			||||||
          });
 | 
					            // 格式化为 YYYY-MM-DD
 | 
				
			||||||
      },
 | 
					            date = new Date(date)
 | 
				
			||||||
      /** 删除按钮操作 */
 | 
					            const year = date.getFullYear();
 | 
				
			||||||
      handleDelete(row) {
 | 
					            const month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从0开始
 | 
				
			||||||
          const dictIds = row.dictId || this.ids;
 | 
					            const day = String(date.getDate()).padStart(2, '0');
 | 
				
			||||||
          this.$modal.confirm('是否确认删除数据项?').then(function() {
 | 
					            const hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
 | 
				
			||||||
              // return delType(dictIds);
 | 
					            const minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()
 | 
				
			||||||
          }).then(() => {
 | 
					            const seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds()
 | 
				
			||||||
              this.getList();
 | 
					            return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
 | 
				
			||||||
              this.$modal.msgSuccess("删除成功");
 | 
					        } 
 | 
				
			||||||
          }).catch(() => {});
 | 
					    }
 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					<style scoped>
 | 
				
			||||||
 | 
					    .dishes-card{
 | 
				
			||||||
 | 
					        width: 20%;
 | 
				
			||||||
 | 
					        height: 100%;
 | 
				
			||||||
 | 
					        margin-right: 15px;
 | 
				
			||||||
 | 
					        position: relative;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .body-card{
 | 
				
			||||||
 | 
					        width: 96%;
 | 
				
			||||||
 | 
					        margin: 10px auto;
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        flex-direction: column;
 | 
				
			||||||
 | 
					        height: 300px;
 | 
				
			||||||
 | 
					        overflow-y: auto;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    .bottom-card{
 | 
				
			||||||
 | 
					        width: 100%;
 | 
				
			||||||
 | 
					        height: 60px;
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        align-items: center;
 | 
				
			||||||
 | 
					        justify-content: center;
 | 
				
			||||||
 | 
					        position: absolute;
 | 
				
			||||||
 | 
					        bottom: 0;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    .dialog-left{
 | 
				
			||||||
 | 
					        width: 20%;
 | 
				
			||||||
 | 
					        height: 100%;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .dish-name{
 | 
				
			||||||
 | 
					        width: 100%;
 | 
				
			||||||
 | 
					        height: 32px;
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        align-items: center;
 | 
				
			||||||
 | 
					        cursor: pointer;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .dish-name:hover{ 
 | 
				
			||||||
 | 
					        background-color:rgba(0, 0, 0, 0.1);
 | 
				
			||||||
 | 
					        color: #4b80fd;
 | 
				
			||||||
 | 
					    } 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    .dialog-center{
 | 
				
			||||||
 | 
					        width: 10%;
 | 
				
			||||||
 | 
					        height: 100%;
 | 
				
			||||||
 | 
					        /* background: #4b80fd; */
 | 
				
			||||||
 | 
					        border: 1px solid #ccc;
 | 
				
			||||||
 | 
					        border-radius: 5px;
 | 
				
			||||||
 | 
					        margin: 0 1%;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .dialog-center-header{
 | 
				
			||||||
 | 
					        width: 100%;display: flex;align-items: center;justify-content: center;height: 60px;font-weight: bold;border-bottom: 1px solid #ccc;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .dialog-right{
 | 
				
			||||||
 | 
					        width: 70%;
 | 
				
			||||||
 | 
					        height: 100%;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .primary{
 | 
				
			||||||
 | 
					        background: #1890ff!important;
 | 
				
			||||||
 | 
					        color: #fff!important;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .dateTable{
 | 
				
			||||||
 | 
					        width: 14%;
 | 
				
			||||||
 | 
					        height: 40px;
 | 
				
			||||||
 | 
					        color: #9a9da3;
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        align-items: center;
 | 
				
			||||||
 | 
					        justify-content: center;
 | 
				
			||||||
 | 
					        border: 1px solid #e6ebf5;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .dateTable2{
 | 
				
			||||||
 | 
					        width: 14%;
 | 
				
			||||||
 | 
					        height: 40px;
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        align-items: center;
 | 
				
			||||||
 | 
					        justify-content: center;
 | 
				
			||||||
 | 
					        background: #fff;
 | 
				
			||||||
 | 
					        color:#000;
 | 
				
			||||||
 | 
					        border: 1px solid #e6ebf5;
 | 
				
			||||||
 | 
					        cursor: pointer;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .bgBlue{
 | 
				
			||||||
 | 
					        width: 14%;
 | 
				
			||||||
 | 
					        height: 40px;
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        align-items: center;
 | 
				
			||||||
 | 
					        justify-content: center;
 | 
				
			||||||
 | 
					        background: #0c6ccc;
 | 
				
			||||||
 | 
					        color:#fff !important;
 | 
				
			||||||
 | 
					        border: 1px solid #fff;
 | 
				
			||||||
 | 
					        cursor: pointer;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					</style>
 | 
				
			||||||
| 
						 | 
					@ -111,11 +111,11 @@
 | 
				
			||||||
                    <el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" /> 
 | 
					                    <el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
                    <el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" /> 
 | 
					                    <el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
                    <el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" /> 
 | 
					                    <el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
                    <el-table-column label="货品规格" align="center" prop="salesMode" :show-overflow-tooltip="true">
 | 
					                    <el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
 | 
				
			||||||
                        <template slot-scope="scope">
 | 
					                        <!-- <template slot-scope="scope">
 | 
				
			||||||
                            <span v-if="scope.row.salesMode==1">按份</span>
 | 
					                            <span v-if="scope.row.salesMode==1">按份</span>
 | 
				
			||||||
                            <span v-if="scope.row.salesMode==2">称重</span>
 | 
					                            <span v-if="scope.row.salesMode==2">称重</span>
 | 
				
			||||||
                        </template>
 | 
					                        </template> -->
 | 
				
			||||||
                    </el-table-column> 
 | 
					                    </el-table-column> 
 | 
				
			||||||
                    <el-table-column label="单价(元)" align="center" prop="singlePrice" :show-overflow-tooltip="true">
 | 
					                    <el-table-column label="单价(元)" align="center" prop="singlePrice" :show-overflow-tooltip="true">
 | 
				
			||||||
                        <template slot-scope="scope">
 | 
					                        <template slot-scope="scope">
 | 
				
			||||||
| 
						 | 
					@ -141,8 +141,8 @@
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div style="width: 100%;height: 80px;padding: 10px;background: #FFF;border-radius: 10px;display: flex;align-items: center;justify-content: center;">
 | 
					        <div style="width: 100%;height: 80px;padding: 10px;background: #FFF;border-radius: 10px;display: flex;align-items: center;justify-content: center;">
 | 
				
			||||||
            <el-button type="primary" @click="confirmSubmit" :loading="loadingBtn">提 交</el-button>
 | 
					            <el-button type="primary" @click="confirmSave" :loading="loadingBtn">保存草稿</el-button>
 | 
				
			||||||
            <el-button @click="jumpList">返 回</el-button>
 | 
					            <el-button @click="confirmSubmit">提交</el-button>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
        <!-- 选择菜品 -->
 | 
					        <!-- 选择菜品 -->
 | 
				
			||||||
| 
						 | 
					@ -183,11 +183,11 @@
 | 
				
			||||||
                    <el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" /> 
 | 
					                    <el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
                    <el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" /> 
 | 
					                    <el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
                    <el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" /> 
 | 
					                    <el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" /> 
 | 
				
			||||||
                    <el-table-column label="货品规格" align="center" prop="salesMode" :show-overflow-tooltip="true">
 | 
					                    <el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
 | 
				
			||||||
                        <template slot-scope="scope">
 | 
					                        <!-- <template slot-scope="scope">
 | 
				
			||||||
                            <span v-if="scope.row.salesMode==1">按份</span>
 | 
					                            <span v-if="scope.row.salesMode==1">按份</span>
 | 
				
			||||||
                            <span v-if="scope.row.salesMode==2">称重</span>
 | 
					                            <span v-if="scope.row.salesMode==2">称重</span>
 | 
				
			||||||
                        </template>
 | 
					                        </template> -->
 | 
				
			||||||
                    </el-table-column> 
 | 
					                    </el-table-column> 
 | 
				
			||||||
                    <el-table-column label="单价(元)" align="center" prop="unitPrice" :show-overflow-tooltip="true">
 | 
					                    <el-table-column label="单价(元)" align="center" prop="unitPrice" :show-overflow-tooltip="true">
 | 
				
			||||||
                        <template slot-scope="scope">
 | 
					                        <template slot-scope="scope">
 | 
				
			||||||
| 
						 | 
					@ -421,53 +421,121 @@ export default {
 | 
				
			||||||
                },500) 
 | 
					                },500) 
 | 
				
			||||||
            } 
 | 
					            } 
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        // 提交按钮
 | 
					        //保存草稿
 | 
				
			||||||
        confirmSubmit(){
 | 
					        confirmSave(){
 | 
				
			||||||
            this.$refs["baseInfo"].validate(valid => {
 | 
					            this.$refs["baseInfo"].validate(valid => {
 | 
				
			||||||
                if (valid) {
 | 
					                if (valid) { 
 | 
				
			||||||
                    console.log(this.baseInfo)
 | 
					 | 
				
			||||||
                    let param = Object.assign({},this.baseInfo);
 | 
					                    let param = Object.assign({},this.baseInfo);
 | 
				
			||||||
                    param.contractStartTime = this.formatDateTime(this.baseInfo.dateRange[0])
 | 
					                    param.contractStartTime = this.formatDateTime(this.baseInfo.dateRange[0])
 | 
				
			||||||
                    param.contractEndTime = this.formatDateTime(this.baseInfo.dateRange[1])
 | 
					                    param.contractEndTime = this.formatDateTime(this.baseInfo.dateRange[1])
 | 
				
			||||||
                    param.contractSigningTime = this.formatDate(this.baseInfo.contractSigningTime)
 | 
					                    param.contractSigningTime = this.formatDate(this.baseInfo.contractSigningTime)
 | 
				
			||||||
                    param.payMoneyDate = this.formatDate(this.baseInfo.payMoneyDate)  
 | 
					                    param.payMoneyDate = this.formatDate(this.baseInfo.payMoneyDate)  
 | 
				
			||||||
                    param.contractAmount = this.baseInfo.contractAmount*100
 | 
					                    param.contractAmount = this.baseInfo.contractAmount*100;
 | 
				
			||||||
                    param.purchaseContractDetailList = []
 | 
					                    param.commitStatus=1
 | 
				
			||||||
                    console.log(this.contractMaterialList) 
 | 
					                    param.purchaseContractDetailList = [] 
 | 
				
			||||||
                    this.noMaterial = true;
 | 
					                    this.noMaterial = false;
 | 
				
			||||||
                    if(this.contractMaterialList.length>0){
 | 
					                    if(this.contractMaterialList.length>0){ 
 | 
				
			||||||
                        this.noMaterial = false;
 | 
					 | 
				
			||||||
                        this.contractMaterialList.forEach(item=>{
 | 
					                        this.contractMaterialList.forEach(item=>{
 | 
				
			||||||
                            let obj = Object.assign({}, item)
 | 
					                            if(item.singlePrice==0 || item.orderNum==0){
 | 
				
			||||||
                            obj.singlePrice = Number(obj.singlePrice)*100
 | 
					                                this.noMaterial = true
 | 
				
			||||||
                            param.purchaseContractDetailList.push(obj)
 | 
					                            }else{
 | 
				
			||||||
 | 
					                                let obj = Object.assign({}, item)
 | 
				
			||||||
 | 
					                                obj.singlePrice = Number(obj.singlePrice)*100
 | 
				
			||||||
 | 
					                                param.purchaseContractDetailList.push(obj)
 | 
				
			||||||
 | 
					                            } 
 | 
				
			||||||
                        }) 
 | 
					                        }) 
 | 
				
			||||||
                    } 
 | 
					                    } 
 | 
				
			||||||
                    console.log(param)
 | 
					 | 
				
			||||||
                    if(this.noMaterial){
 | 
					                    if(this.noMaterial){
 | 
				
			||||||
                        this.$modal.msgError("请添加货品!");
 | 
					                        this.$modal.msgError("请输入单价和数量!");
 | 
				
			||||||
                    }else{
 | 
					                    }else{
 | 
				
			||||||
                        this.loadingBtn=true;
 | 
					                        this.noMaterial = true;
 | 
				
			||||||
                        if (this.baseInfo.contractId != undefined) {
 | 
					                        if(this.contractMaterialList.length>0){
 | 
				
			||||||
                            editPurchaseContractApi(param).then((response) => {
 | 
					                            this.noMaterial = false; 
 | 
				
			||||||
                                this.$modal.msgSuccess("修改成功");
 | 
					                        } 
 | 
				
			||||||
                                this.loadingBtn=false
 | 
					                        console.log(param)
 | 
				
			||||||
                                this.jumpList() 
 | 
					                        if(this.noMaterial){
 | 
				
			||||||
                            }).catch(() => {
 | 
					                            this.$modal.msgError("请添加货品!");
 | 
				
			||||||
                                this.loadingBtn=false
 | 
					                        }else{
 | 
				
			||||||
                            }); 
 | 
					                            this.loadingBtn=true;
 | 
				
			||||||
                        } else {
 | 
					                            if (this.baseInfo.contractId != undefined) {
 | 
				
			||||||
                            addPurchaseContractApi(param).then((response) => {
 | 
					                                editPurchaseContractApi(param).then((response) => {
 | 
				
			||||||
                                this.$modal.msgSuccess("保存成功");
 | 
					                                    this.$modal.msgSuccess("修改成功");
 | 
				
			||||||
                                this.loadingBtn=false
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
                                this.jumpList() 
 | 
					                                    this.jumpList() 
 | 
				
			||||||
                            }).catch(() => {
 | 
					                                }).catch(() => {
 | 
				
			||||||
                                this.loadingBtn=false
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
                            }); 
 | 
					                                }); 
 | 
				
			||||||
                             
 | 
					                            } else {
 | 
				
			||||||
                        }
 | 
					                                addPurchaseContractApi(param).then((response) => {
 | 
				
			||||||
                        
 | 
					                                    this.$modal.msgSuccess("保存成功");
 | 
				
			||||||
                    }
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
 | 
					                                    this.jumpList() 
 | 
				
			||||||
 | 
					                                }).catch(() => {
 | 
				
			||||||
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
 | 
					                                });  
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
 | 
					                            
 | 
				
			||||||
 | 
					                        } 
 | 
				
			||||||
 | 
					                    } 
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        // 提交按钮
 | 
				
			||||||
 | 
					        confirmSubmit(){
 | 
				
			||||||
 | 
					            this.$refs["baseInfo"].validate(valid => {
 | 
				
			||||||
 | 
					                if (valid) { 
 | 
				
			||||||
 | 
					                    let param = Object.assign({},this.baseInfo);
 | 
				
			||||||
 | 
					                    param.contractStartTime = this.formatDateTime(this.baseInfo.dateRange[0])
 | 
				
			||||||
 | 
					                    param.contractEndTime = this.formatDateTime(this.baseInfo.dateRange[1])
 | 
				
			||||||
 | 
					                    param.contractSigningTime = this.formatDate(this.baseInfo.contractSigningTime)
 | 
				
			||||||
 | 
					                    param.payMoneyDate = this.formatDate(this.baseInfo.payMoneyDate)  
 | 
				
			||||||
 | 
					                    param.contractAmount = this.baseInfo.contractAmount*100;
 | 
				
			||||||
 | 
					                    param.commitStatus=2
 | 
				
			||||||
 | 
					                    param.purchaseContractDetailList = [] 
 | 
				
			||||||
 | 
					                    this.noMaterial = false;
 | 
				
			||||||
 | 
					                    if(this.contractMaterialList.length>0){ 
 | 
				
			||||||
 | 
					                        this.contractMaterialList.forEach(item=>{
 | 
				
			||||||
 | 
					                            if(item.singlePrice==0 || item.orderNum==0){
 | 
				
			||||||
 | 
					                                this.noMaterial = true
 | 
				
			||||||
 | 
					                            }else{
 | 
				
			||||||
 | 
					                                let obj = Object.assign({}, item)
 | 
				
			||||||
 | 
					                                obj.singlePrice = Number(obj.singlePrice)*100
 | 
				
			||||||
 | 
					                                param.purchaseContractDetailList.push(obj)
 | 
				
			||||||
 | 
					                            } 
 | 
				
			||||||
 | 
					                        }) 
 | 
				
			||||||
 | 
					                    } 
 | 
				
			||||||
 | 
					                    if(this.noMaterial){
 | 
				
			||||||
 | 
					                        this.$modal.msgError("请输入单价和数量!");
 | 
				
			||||||
 | 
					                    }else{
 | 
				
			||||||
 | 
					                        this.noMaterial = true;
 | 
				
			||||||
 | 
					                        if(this.contractMaterialList.length>0){
 | 
				
			||||||
 | 
					                            this.noMaterial = false; 
 | 
				
			||||||
 | 
					                        } 
 | 
				
			||||||
 | 
					                        console.log(param)
 | 
				
			||||||
 | 
					                        if(this.noMaterial){
 | 
				
			||||||
 | 
					                            this.$modal.msgError("请添加货品!");
 | 
				
			||||||
 | 
					                        }else{
 | 
				
			||||||
 | 
					                            this.loadingBtn=true;
 | 
				
			||||||
 | 
					                            if (this.baseInfo.contractId != undefined) {
 | 
				
			||||||
 | 
					                                editPurchaseContractApi(param).then((response) => {
 | 
				
			||||||
 | 
					                                    this.$modal.msgSuccess("修改成功");
 | 
				
			||||||
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
 | 
					                                    this.jumpList() 
 | 
				
			||||||
 | 
					                                }).catch(() => {
 | 
				
			||||||
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
 | 
					                                }); 
 | 
				
			||||||
 | 
					                            } else {
 | 
				
			||||||
 | 
					                                addPurchaseContractApi(param).then((response) => {
 | 
				
			||||||
 | 
					                                    this.$modal.msgSuccess("保存成功");
 | 
				
			||||||
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
 | 
					                                    this.jumpList() 
 | 
				
			||||||
 | 
					                                }).catch(() => {
 | 
				
			||||||
 | 
					                                    this.loadingBtn=false
 | 
				
			||||||
 | 
					                                });  
 | 
				
			||||||
 | 
					                            }
 | 
				
			||||||
 | 
					                            
 | 
				
			||||||
 | 
					                        } 
 | 
				
			||||||
 | 
					                    } 
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -107,9 +107,15 @@
 | 
				
			||||||
            <el-button
 | 
					            <el-button
 | 
				
			||||||
                size="mini"
 | 
					                size="mini"
 | 
				
			||||||
                type="text"
 | 
					                type="text"
 | 
				
			||||||
                icon="el-icon-edit"
 | 
					                icon="el-icon-edit" v-if="scope.row.commitStatus==1"
 | 
				
			||||||
                @click="handleUpdate(scope.row)" 
 | 
					                @click="handleUpdate(scope.row)" 
 | 
				
			||||||
            >编辑</el-button>
 | 
					            >编辑</el-button>
 | 
				
			||||||
 | 
					            <el-button
 | 
				
			||||||
 | 
					                size="mini"
 | 
				
			||||||
 | 
					                type="text"
 | 
				
			||||||
 | 
					                icon="el-icon-edit" v-if="scope.row.commitStatus==2"
 | 
				
			||||||
 | 
					                @click="handleView(scope.row)" 
 | 
				
			||||||
 | 
					            >详情</el-button>
 | 
				
			||||||
            <el-button
 | 
					            <el-button
 | 
				
			||||||
                size="mini"
 | 
					                size="mini"
 | 
				
			||||||
                type="text"
 | 
					                type="text"
 | 
				
			||||||
| 
						 | 
					@ -271,7 +277,7 @@ export default {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        /** 修改按钮操作 */
 | 
					        /** 修改按钮操作 */
 | 
				
			||||||
        handleView(row) { 
 | 
					        handleView(row) { 
 | 
				
			||||||
            // this.$router.push({ path: "/foodManage/purchaseManage/contractDetail",query: {pageJson:JSON.stringify(row)} });
 | 
					            this.$router.push({ path: "/foodManage/purchaseManage/contractDetail",query: {pageJson:JSON.stringify(row)} });
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        /** 修改按钮操作 */
 | 
					        /** 修改按钮操作 */
 | 
				
			||||||
        handleUpdate(row) { 
 | 
					        handleUpdate(row) { 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue