Просмотр исходного кода

Merge branch 'deploy' of http://git.chelingzhu.com/jianguan-web/qpls-md-html into deploy

chenrui 4 лет назад
Родитель
Сommit
17fcfe3f78
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/views/purchasingManagement/purchaseOrder/list.vue

+ 3 - 1
src/views/purchasingManagement/purchaseOrder/list.vue

@@ -103,6 +103,7 @@
           size="small"
           size="small"
           type="link"
           type="link"
           class="button-info"
           class="button-info"
+          v-if="record.billStatus == 'WAIT_SUBMIT'||record.billStatus == 'AUDIT_REJECT'"
           @click="handleEdit(record)"
           @click="handleEdit(record)"
         >编辑</a-button>
         >编辑</a-button>
         <!-- <a-button
         <!-- <a-button
@@ -125,6 +126,7 @@
           v-if="record.billStatus == 'WAIT_SUBMIT'||record.billStatus == 'AUDIT_REJECT'"
           v-if="record.billStatus == 'WAIT_SUBMIT'||record.billStatus == 'AUDIT_REJECT'"
           @click="handleDel(record)"
           @click="handleDel(record)"
         >删除</a-button>
         >删除</a-button>
+        <span v-if="record.billStatus != 'WAIT_SUBMIT'&&record.billStatus != 'AUDIT_REJECT'&&record.billStatus != 'WAIT_PUT_WAREHOUSE'">--</span>
       </template>
       </template>
     </s-table>
     </s-table>
     <!-- 选择基本信息弹框 -->
     <!-- 选择基本信息弹框 -->
@@ -174,7 +176,7 @@ export default {
         { title: '采购金额(¥)', dataIndex: 'totalAmount', width: 115, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '采购金额(¥)', dataIndex: 'totalAmount', width: 115, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '业务状态', dataIndex: 'billStatusDictValue', width: 110, align: 'center' },
         { title: '业务状态', dataIndex: 'billStatusDictValue', width: 110, align: 'center' },
         { title: '财务状态', dataIndex: 'financialStatus', scopedSlots: { customRender: 'financialStatus' }, width: 100, align: 'center' },
         { title: '财务状态', dataIndex: 'financialStatus', scopedSlots: { customRender: 'financialStatus' }, width: 100, align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: 280, align: 'center', fixed: 'right' }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: 200, align: 'center', fixed: 'right' }
       ],
       ],
       // 加载数据方法 必须为 Promise 对象
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
       loadData: parameter => {