Kaynağa Gözat

feat:采购订单添加销售单发货状态

snow 1 yıl önce
ebeveyn
işleme
2c9be700b2

+ 12 - 1
src/utils/details/_purchase/porder.ts

@@ -170,6 +170,7 @@ export const purchaseOrderNotIncludeProduceColumns: DescriptionColumns = [
   {
     label: "商品类型",
     field: "cgdType",
+    span:4,
     render(type) {
       return h(ElTag, null, {
         default: () => cg_order_type_options.find(c => c.value == type)?.label
@@ -179,13 +180,23 @@ export const purchaseOrderNotIncludeProduceColumns: DescriptionColumns = [
   {
     label: "发货状态",
     field: "sendStatus",
+    span:4,
     render(type) {
       return h(ElTag, null, {
         default: () => send_status_list.find(c => c.value == type)?.label
       });
     }
   },
-
+  {
+    label: '销售单发货状态',
+    field: 'qrdSend',
+    span:4,
+    render(data) {
+      return h(ElTag, null, {
+          default: () => send_status_list.find(c => c.value == data)?.label
+      })
+    },
+  },
   {
     label: "商品数量",
     field: "goodNum"

+ 1 - 1
src/views/purchase/porder/components/purchase-modal.vue

@@ -18,7 +18,7 @@ defineExpose({
   <ElDialog
     v-model="visible"
     title="采购单详情"
-    custom-class="dialog-max"
+    width="1100px"
     center
     :close-on-click-modal="false"
     @close="data = {}"