zhangqi 1 tahun lalu
induk
melakukan
b5692cadf3

+ 6 - 0
src/DRP/HDrpManagement/customerGoals/detail/tabs/target.vue

@@ -6,9 +6,15 @@
       tableName="targetDetail"
       :noQuery="true"
       rowKey="sa_orderitemsid"
+      :isSelect="false"
       :param="param"
       size="small"
       :hideBorder="true">
+      <template #tb_cell="{data}">
+        <template v-if="data.column.dataIndex === 'operation'">
+          <set-target v-if="data.record.type !== '区域汇总'" :data="data.record" @onSuccess="targetData"></set-target>
+        </template>
+      </template>
       <template #more>
         <slot name="tableImport"></slot>
       </template>

+ 6 - 0
src/DRP/HDrpManagement/performanceGoals/detail/tabs/target.vue

@@ -6,9 +6,15 @@
       tableName="targetDetail"
       :noQuery="true"
       rowKey="sa_orderitemsid"
+      :isSelect="false"
       :param="param"
       size="small"
       :hideBorder="true">
+      <template #tb_cell="{data}">
+        <template v-if="data.column.dataIndex === 'operation'">
+          <set-target v-if="data.record.type !== '区域汇总'" :data="data.record" @onSuccess="targetData"></set-target>
+        </template>
+      </template>
       <template #more>
         <slot name="tableImport"></slot>
       </template>