瀏覽代碼

出运明细分销点调整为下拉框

huxy 1 天之前
父節點
當前提交
9b3cbdf90d
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. 7 4
      src/views/shipment-details/editShipDetDrawer.vue

+ 7 - 4
src/views/shipment-details/editShipDetDrawer.vue

@@ -88,9 +88,12 @@
                 </a-form-model-item>
               </template>
               <!-- 分销点 -->
-              <template slot="distributionPoint" slot-scope="text, record, index">
-                <a-form-model-item prop="distributionPoint">
-                  <a-input style="width:100%" type="text" v-model="record.distributionPoint" @change="changeDistributionPoint(record)"/>
+              <template slot="distributionPoint" slot-scope="text, record, index"  >
+                <a-form-model-item prop="distributionPoint" >
+                  <j-search-select-tag style="width:100%;" type="text" v-model="record.distributionPoint"  
+                   :getPopupContainer="node => node.parentNode.parentNode.parentNode.parentNode.parentNode"
+                    dict="view_distributionpoint,distributionPoint,distributionPoint" @change="changeDistributionPoint(record)">
+                  </j-search-select-tag>
                 </a-form-model-item>
               </template>
               <!-- 运输方式 -->
@@ -378,7 +381,7 @@ export default {
         {
           title: '分销点',
           dataIndex: 'distributionPoint',
-          width: 110,
+          width: 150,
           className: 'replacecolor',
            ellipsis: true,
            scopedSlots: { customRender: 'distributionPoint' },