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

refactor(采购需求管理): bug修复

liujt 6 месяцев назад
Родитель
Сommit
a95c916c15

+ 9 - 38
pages/purchasingManage/components/produceList.vue

@@ -100,21 +100,6 @@
 					<view v-if="isDrawer">{{ item.modelKey }}</view>
 					<view v-else>
 						<u--input placeholder="请输入" border="surround" v-model="item.modelKey" @click.native="changeMultiple(item, index, 'modelKey', product_model_key)"></u--input>
-						<!-- <uni-data-select
-							
-							:localdata="product_model_key"
-							v-model="item.modelKey"
-							 @change="change"
-						></uni-data-select> -->
-						<!-- <zxz-uni-data-select
-							:localdata="product_model_key"
-							v-model="item.modelKey"
-							dataValue="value"
-							format="{text}"
-							dataKey="text"
-							:clear="false"
-							multiple
-						></zxz-uni-data-select> -->
 					</view>
 				</view>
 
@@ -122,20 +107,6 @@
 					<view v-if="isDrawer">{{ item.colorKey }}</view>
 					<view v-else>
 						<u--input placeholder="请输入" border="surround" v-model="item.colorKey" @click.native="changeMultiple(item, index, 'colorKey', product_color_key)"></u--input>
-						<!-- <uni-data-select
-							multiple
-							:localdata="product_color_key"
-							v-model="item.colorKey"
-						></uni-data-select> -->
-						<!-- <zxz-uni-data-select
-							:localdata="product_color_key"
-							v-model="item.colorKey"
-							dataValue="value"
-							format="{text}"
-							dataKey="text"
-							:clear="false"
-							multiple
-						></zxz-uni-data-select> -->
 					</view>
 				</view>
 
@@ -409,15 +380,15 @@
 							}
 						}
 					}],
-					[{
-						label: '图纸附件:',
-						prop: 'technicalDrawings',
-						slot: 'technicalDrawings',
-					}, {
-						label: '附件:',
-						prop: 'files',
-						slot: 'files',
-					}],
+					// [{
+					// 	label: '图纸附件:',
+					// 	prop: 'technicalDrawings',
+					// 	slot: 'technicalDrawings',
+					// }, {
+					// 	label: '附件:',
+					// 	prop: 'files',
+					// 	slot: 'files',
+					// }],
 					[{
 						label: '备注:',
 						prop: 'remark',

+ 2 - 7
pages/purchasingManage/purchaseNeedManage/add.vue

@@ -130,11 +130,6 @@
           <fileMain v-model="form.fileId"></fileMain>
         </view>
       </u-cell>
-	  <!-- <u-cell title="附件" arrow-direction="down">
-        <view slot="value" style="display: flex; align-items: center">
-          <fileMain v-model="files"></fileMain>
-        </view>
-      </u-cell> -->
       <u-cell title="备注" arrow-direction="down">
         <u--textarea
           slot="value"
@@ -373,7 +368,7 @@ export default {
   },
   methods: {
     getProvenance(item) {
-      console.log("getProvenance~~~~~", item);
+    //   console.log("getProvenance~~~~~", item);
       // try {
       // 检查item和provenance是否存在
       if (!item) {
@@ -383,7 +378,7 @@ export default {
       let arr = item;
 
       if (!Array.isArray(arr)) {
-        console.log("arr is not array, convert to array");
+        // console.log("arr is not array, convert to array");
         arr = arr.split(",");
       }