瀏覽代碼

存在代码提交

yjwang 2 月之前
父節點
當前提交
c6921c75c2
共有 3 個文件被更改,包括 12 次插入2 次删除
  1. 1 1
      src/api/hisStore/storeOrder.js
  2. 4 1
      src/views/hisStore/storeProduct/index.vue
  3. 7 0
      src/views/system/config/config.vue

+ 1 - 1
src/api/hisStore/storeOrder.js

@@ -325,7 +325,7 @@ export function orderDimensionStatisticsExport(query) {
 
 export function importDeliveryNoteExpressTemplate() {
   return request({
-    url: '/store/storeOrder/importDeliveryNoteExpressTemplate',
+    url: '/store/store/storeOrder/importDeliveryNoteExpressTemplate',
     method: 'get'
   })
 }

+ 4 - 1
src/views/hisStore/storeProduct/index.vue

@@ -1311,9 +1311,12 @@ export default {
           if (this.form.companyIds != null && this.form.companyIds != undefined) {
             this.form.companyIds = this.form.companyIds.join(',');
           }
+          if(this.form.productId !== null && this.form.productId !== undefined && this.form.productId === 0) {
+            this.form.productId=null;
+          }
           addOrEdit(this.form).then(response => {
             if (response.code === 200) {
-              this.msgSuccess("修改成功");
+              this.msgSuccess("操作成功");
               this.open = false;
               this.getList();
             }

+ 7 - 0
src/views/system/config/config.vue

@@ -1049,6 +1049,13 @@
                     inactive-color="#ff4949">
                   </el-switch>
                 </el-form-item>
+        <el-form-item label="是否开启微信发货" prop="isWeChatShipping">
+          <el-switch
+            v-model="form17.isWeChatShipping"
+            active-color="#13ce66"
+            inactive-color="#ff4949">
+          </el-switch>
+        </el-form-item>
         <div class="footer">
           <el-button type="primary" @click="submitForm17">提  交</el-button>
         </div>