linwenxin 1 rok pred
rodič
commit
a2eb21c6cf

+ 3 - 0
src/views/auxiliaryFittings/salesManagement/oldPartsReturnFactory/index.vue

@@ -283,6 +283,9 @@ export default {
           }
         },
         edit: {
+          conditions: ({ row, index, column }) => {
+            return !~['OK', 'FAIL'].indexOf(row.flag)
+          },
           click: ({ row, index, column }) => {
             this.$refs.tabPage.addTab({
               // 对应显示的模块

+ 3 - 2
src/views/auxiliaryFittings/salesManagement/oldPartsReturnFactory/mixins/basicInfo.js

@@ -11,10 +11,11 @@ export default {
     formItems() {
       return [
         {
-          name: 'el-input',
+          name: 'el-select',
           md: 6,
+          options: [{ SAVE: "保存" }, { SUBMIT: "提交" }, { OK: "通过" }, { FAIL: "失败" }],
           attributes: {
-            placeholder: '请输入',
+            placeholder: '请选择',
             disabled: true
           },
           formItemAttributes: {