gaoluyang
8 天以前 e4bf1b2abf8c59bbcc9f9ccbaef3e672c667c59e
src/views/productionManagement/productionOrder/index.vue
@@ -11,6 +11,15 @@
               clearable
               prefix-icon="Search"
            />
            <span class="search_title ml10">合同号:</span>
            <el-input
               v-model="searchForm.salesContractNo"
               style="width: 240px"
               placeholder="请输入"
               @change="handleQuery"
               clearable
               prefix-icon="Search"
            />
<!--            <span class="search_title ml10">项目名称:</span>-->
<!--            <el-input-->
<!--               v-model="searchForm.projectName"-->
@@ -58,7 +67,7 @@
      width: 120,
   },
   {
      label: "合同号",
      label: "销售合同号",
      prop: "salesContractNo",
      width: 220,
   },
@@ -78,16 +87,16 @@
   //    width:300
   // },
   {
      label: "付款状态",
      label: "生产状态",
      prop: "status",
      dataType: "tag",
      formatType: (params) => {
         if (params == '未完成') {
         if (params == '生产中') {
            return "warning";
         } else if (params == '未开始') {
            return "danger";
         } else if (params == '已完成') {
            return "success";
         } else {
            return null;
            return "success";
         }
      },
   },
@@ -132,6 +141,7 @@
const data = reactive({
   searchForm: {
      customerName: "",
      salesContractNo: "",
      projectName: "",
      status: "",
      entryDate: [dayjs().format("YYYY-MM-DD"), dayjs().format("YYYY-MM-DD")], // 录入日期,默认当天