002390 2 年之前
父節點
當前提交
3b89369a85

+ 18 - 20
src/views/input-dialog/components/ALLOCATION_PARAM.js

@@ -1,24 +1,22 @@
 // 货位
 export default [
   // 树
-  // {
-  //   key: "warehouse",
-  //   title: "仓库ID",
-  //   type: "Input",
-  //   search: true,
-  // },
-  // {
-  //   key: "warehouse_name",
-  //   title: "仓库名称",
-  //   type: "Input",
-  //   search: true,
-  // },
-  // {
-  //   key: "",
-  //   title: "备注",
-  // },
-  // {
-  //   key: "",
-  //   title: "助记码",
-  // },
+  {
+    key: "id",
+    title: "ID",
+    type: "Input",
+    search: true,
+  },
+  {
+    key: "code",
+    title: "编码",
+    type: "Input",
+    search: true,
+  },
+  {
+    key: "name",
+    title: "货位",
+    type: "Input",
+    search: true,
+  },
 ];

+ 3 - 3
src/views/input-dialog/components/SUPPLIERCONTACTS_PARAM.js

@@ -2,19 +2,19 @@
 export default [
   {
     key: "id",
-    title: " 供应商联系人ID",
+    title: "ID",
     type: "Input",
     search: true,
   },
   {
     key: "code",
-    title: " 供应商联系人编码",
+    title: "编码",
     type: "Input",
     search: true,
   },
   {
     key: "name",
-    title: " 供应商联系人名称",
+    title: "供应商联系人名称",
     type: "Input",
     search: true,
   },

+ 5 - 3
src/views/purchase/purchase-order/edit/index.vue

@@ -155,7 +155,7 @@ export default {
             justify-content: space-between;
             align-items: center;
           ">
-          <h3>编辑</h3>
+          <h3>{{ params.status == '2' ? '修订' : '编辑' }}</h3>
           <div style="text-align: right">
             <el-button :size="size" @click="handleCancel">取 消</el-button>
             <el-button :size="size" type="danger" @click="handleSava">更 新</el-button>
@@ -196,7 +196,8 @@ export default {
                 :placeholder="column.placeholder" :clearable="column.clearable" :disabled="column.disabled"
                 :picker-options="column.pickerOptions" style="width: 100%">
               </el-date-picker>
-              <el-checkbox v-else-if="column.type === 'Checkbox'" v-model="params[column.key]" true-label="Y" false-label="N"></el-checkbox>
+              <el-checkbox v-else-if="column.type === 'Checkbox'" v-model="params[column.key]" true-label="Y"
+                false-label="N"></el-checkbox>
               <el-upload v-if="column.type === 'Upload'" :file-list="params[column.key]" :disabled="column.disabled" drag
                 action="https://sy.derom.com/document-center/fastdfs/upload" multiple>
                 <i class="el-icon-upload"></i>
@@ -238,7 +239,8 @@ export default {
                     :readonly="cColumn.readonly" :title="cColumn.title" :type="cColumn.config.componentName"
                     :data-mapping="cColumn.config.dataMapping" :source.sync="scope.row" :size="size">
                   </dr-input-dialog>
-                  <el-checkbox v-else-if="column.type === 'Checkbox'" v-model="params[column.key]" true-label="Y" false-label="N"></el-checkbox>
+                  <el-checkbox v-else-if="column.type === 'Checkbox'" v-model="params[column.key]" true-label="Y"
+                    false-label="N"></el-checkbox>
                   <el-input-number v-if="cColumn.type === 'InputNumber'" v-model="scope.row[cColumn.key]"
                     :controls-position="cColumn.config.controlsPosition" :placeholder="cColumn.placeholder"
                     :clearable="cColumn.clearable" :disabled="cColumn.disabled" :size="size"